Replies: 1 comment
-
"useFieldArray" in Vue.js Composition API is designed to work well with Vue components, especially those from form libraries like Vuelidate or Vue Formulate. While it's possible to use it with standard HTML form elements, it may require more manual synchronization of form data and validation compared to using specialized form components. Consider your project requirements and familiarity with Vue.js when deciding on the approach to manage your forms. |
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
-
Does useFieldArray work with standard HTML form elements?
The Composition API documentation is not very explicit about it, but the example given shows it being used with the Field component. In my own development I am trying very hard to stick with standard HTML elements and, in trying to do so, could not get the useFieldArray to sync with any of the fields that it is controlling unless I used the Field component.
I have 40+ years in programming, but, am effectively a rookie at web development so that any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions