vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

Yup abortEarly supports

Open jimbatamang opened this issue 3 years ago • 1 comments

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

jimbatamang avatar Feb 03 '22 10:02 jimbatamang

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

ziaadini avatar May 12 '22 08:05 ziaadini

+1

angelmartinezstori avatar Nov 03 '22 20:11 angelmartinezstori

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

logaretm avatar Mar 12 '23 21:03 logaretm

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

logaretm avatar Mar 12 '23 21:03 logaretm