logaretm / vee-validate

✅ Painless Vue forms
https://vee-validate.logaretm.com/v4
MIT License
10.75k stars 1.26k forks source link

Yup abortEarly supports #3680

Closed jimbatamang closed 1 year ago

jimbatamang commented 2 years ago

Is your feature request related to a problem? Please describe.

While validating password field with multiple validation, I would like to see all the errors related with password field. However, I couldn't figure out to show all errors.

Describe the solution you'd like

As I'm using yup schema, I should able to pass abortEarly: false option that returns all the errors.

Describe alternatives you've considered

ziaadini commented 2 years ago

i have the same problem: i have a dead complex validation schema with nested array and my validation dos not work on array, when i tried to figure out what's the issue i finally found the issue i need to pass abortEarly: false

angelmartinezstori commented 1 year ago

+1

logaretm commented 1 year ago

This is now supported with 4.8 all yup errors will be rendered in full, especially when using toTypedSchema helper.

logaretm commented 1 year ago

This is now supported with 4.8 all yup errors will be rendered in full, especially when using toTypedSchema helper.