How can I use conditional validation schema #4765
Unanswered
zee-shan000
asked this question in
Q&A
Replies: 0 comments
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.
-
Here is my code.
const { handleSubmit } = useForm({ validationSchema: { ...operating, ...digest } })
,I want operating to work on some conditions not always.
Beta Was this translation helpful? Give feedback.
All reactions