Replies: 2 comments 2 replies
-
See if Zod's |
Beta Was this translation helpful? Give feedback.
1 reply
-
hello is this solved? @walt1992 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm building a form with Zod resolver.
Here is a part of my form:
aField is a key-value data structure where the key represents an object ID and the value represents a date for that object ID.
In most cases, when the key exists, the value is required. However, under certain conditions, the value is not required even if the key exists. In such cases, I would like to disable the validation for this value.
But. It should be enabled again when the disable condition is ended.
How can I do this?
Beta Was this translation helpful? Give feedback.
All reactions