-
Sometimes we need to show multiple validation errors at once (for example when validating passwords). What would be the best way to achieve that with composition API and vee-validate? For example with a schema like this
is it possible to show 2 error messages at once (e.g. when val.length is 8)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Maybe this example will better demonstrate what i'm trying to achieve: https://codesandbox.io/s/veevalidate-multiple-errors-on-one-field-forked-lgoiv?file=/src/views/Home.vue:520-521 I'm very new to 'yup' but it seems like it is possible to get all the validation error messages at once. But will it be possible to display them with VeeValidate? |
Beta Was this translation helpful? Give feedback.
-
In VeeValidate v4 I could achieve this changing bails value to false. ![]() |
Beta Was this translation helpful? Give feedback.
In VeeValidate v4 I could achieve this changing bails value to false.