Trying to fix v-model bug for entire day #8761
-
Hey guys, I am just getting started with vue.js so forgive me. here is my App.vue file
here is my XForm.vue file
Basically I am trying to generate input forms that are binded to the object array using v-model. So if I enter a value in the name field, the value of name in the object changes accordingly, I have to use a schema to do that. This code generated the input box but does not update the values. I have been trying to fix it all day. Please help me |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
try it. |
Beta Was this translation helpful? Give feedback.
-
@chenxch bro it did not update https://stackblitz.com/edit/vitejs-vite-t5puyq?file=src%2Fcomponents%2FXForm.vue,src%2FApp.vue,src%2Fstyle.css but ty for responding |
Beta Was this translation helpful? Give feedback.
-
@chenxch Dude thank you so much, I've been trying to figure it out for a long time. |
Beta Was this translation helpful? Give feedback.
App.vue