-
There is an example of zod and react-hook-form in docs:
in the example above, the validation will be triggered when submitting, I want the validation to be triggered when |
Beta Was this translation helpful? Give feedback.
Answered by
Moshyfawn
Dec 28, 2023
Replies: 1 comment
-
Does the useForm({
mode: "onChange" // INFO: run validation on field value change
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zwl1619
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does the
mode
flag onuseForm
help?