Skip to content

Is a form tag required to use useForm()? #4093

Answered by logaretm
rwfresh asked this question in Q&A
Discussion options

You must be logged in to vote

No, it is not required. And useForm isn't required either if you plan to track your form values with v-model manually.

You can use either useForm or <Form /> component but never both. Using either defines a form context for your components that use useField or <Field />.

I suggest you try it first and see what doesn't work and I will be happy to help then.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rwfresh
Comment options

Answer selected by rwfresh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants