Conditional Yup and errors displaying #3810
-
Strange problem, in Formik it worked perfectly. Perfect reproduction with Formik working preview |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
because hook form is focused on single input validation to enhance the perf, if you need dependent input to be validated, use `trigger to trigger the other input's validation. hook form doesn't fire entire form validation unless you told so and (render the entire form). |
Beta Was this translation helpful? Give feedback.
because hook form is focused on single input validation to enhance the perf, if you need dependent input to be validated, use `trigger to trigger the other input's validation. hook form doesn't fire entire form validation unless you told so and (render the entire form).