Replies: 2 comments
-
Actually instead of formFields[field], I used an object instead so it is v-model="formFields[col.field]" |
Beta Was this translation helpful? Give feedback.
0 replies
-
My problem magically resolve itself when I move the into a component. Below is the snippet. Hope it helps anyone who encounters the same problem: in my main form:
in my FormField.vue:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to bind return value from defineFields into an object to create dynamic fields.
Although it works, the initial value of both form fields are displayed as: [object Object]
Anyway to fix this?
Any help will be appreciated. Code snippet below:
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions