Skip to content

How to set conditional validation? #4452

Answered by logaretm
yurenklimbu asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yurenklimbu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4450 on September 01, 2023 09:00.