You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the scenario I am facing is that there is are ChangeReason field in a form that only needs to be filled if the form is dirty. But, libs like yup and zod do not know anything about the form so how can I handle such scenarios? Do I have to throw in dynamic validation schemas?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So the scenario I am facing is that there is are
ChangeReason
field in a form that only needs to be filled if the form is dirty. But, libs like yup and zod do not know anything about the form so how can I handle such scenarios? Do I have to throw in dynamic validation schemas?Beta Was this translation helpful? Give feedback.
All reactions