How to set conditional validation? #4452
-
Thanks for great library, Here is the production link |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Moved to discussions since this is question. You can do Zod.lazy or Or with dynamic schemas like those shown here: https://vee-validate.logaretm.com/v4/guide/composition-api/getting-started/#dynamic-form-schemas |
Beta Was this translation helpful? Give feedback.
Moved to discussions since this is question.
You can do Zod.lazy or
.refine
with Zod.Or with dynamic schemas like those shown here:
https://vee-validate.logaretm.com/v4/guide/composition-api/getting-started/#dynamic-form-schemas