Replies: 2 comments
-
|
I had a similar problem (or the same one?), trying to implement a multi-step form. I proposed #830 to fix my use case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I ran into a similar problem where I wanted to validate partially on the onBlur of some inputs but did not want to validate the rest of my form. I ended up creating separate zod schema, one for the full form validation and the other for the partial validation with a much less strict schema. Then depending on the intent of the validation I would choose between which schema to use. Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to do a multistep form. Is there a way to do partial validation? something similar to https://react-hook-form.com/docs/useform/trigger
The problem I am facing is in the last step where I all the fields in the context already filled but I have only some fields in the form.
Thanks and regards 🙏
Beta Was this translation helpful? Give feedback.
All reactions