Skip to content

V4 How to validate dynamic form using useField? #3540

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

You must be logged in to vote

Since it is hard to call useField conditionally (or any composition API for that matter), you are better off creating a custom q-input component that has useField baked into it.

Otherwise, you have to use dynamic schemas with computed properties, or computed rules.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by e1uone
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