Replies: 2 comments 8 replies
-
save draft should just use |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hello!
|
Beta Was this translation helpful? Give feedback.
6 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.
-
I have a form that is used for two different purposes: save draft and save as required.
On save draft, all fields should be optional, on save as required, all fields should be required.
How can I enforce these under one form and apply a validation schema (I'm using zod) when either of the two submits have been clicked?
Beta Was this translation helpful? Give feedback.
All reactions