Dynamic Validation Vue Vee Validate
Hello i want to validate dynamic fields using vee validate, Fields having the same name. For Example
Replies (4)
Deleted comment
I have attached (step 2) and the (horizontal) vue page, is there way to validate all the dynamic fields inside the step2, I feel like Yup Object is ignoring dynamic fields
Hi Syed,
I think "Form Generator" page describes how you can validate dynamically rendered fields. See
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Sign Up
Already have an account?Sign in here ref="horizontalWizardRef"Profile Information
Shipping Information
Banking Information
Documents & Legal
Login Information
Hi Syed,
The name attribute value should be unique for each field.
You can use your key variable to make name value unique and then use the name for validation.
:name="`${field.name}-${key}`"
Regards, Lauris Stepanovs, Keenthemes Support Team