-
I see no support of changing on the fly validation schema in useForm and Form Component validation-schema property. Sample, Is it intentional? Is in TODO state? I suggest to make it reactive. Vue can reuse the same component with different props so you can stuck with initial validation-schema or somebody like me need it to generate dynamic forms from the incoming data. Possible implementations:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No plans for that at the moment, you can use |
Beta Was this translation helpful? Give feedback.
No plans for that at the moment, you can use
yup
to create dynamic and conditional shemas withwhere
. No support to make this reactive yet due to diffing rules not going to be reliable.