Possible to get rules defined via useForm in useField?
#4761
Unanswered
codeflorist
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
ContactForm.vuecomponent, where i define the rules (using@vee-validate/rules) in theuseFormcall like this:Then i have a reusable
FieldTextInput.vuecomponent like this:I'd like to append a
*to the label, if the field is required. Is there any way to get rules defined in theuseFormcall ofContactForm.vueinsideFieldTextInput.vue?Beta Was this translation helpful? Give feedback.
All reactions