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
Problem:
There are might be related fields that should be validated along, e.g. password and repeat password fields.
And a message for the touched field has to be shown right after the field input.
Idea:
Validate touched field by calling validateFields function to retrieve an error if it has validateOnChange or validateOnBlur property.
It might be related to issue #185
Problem:
There are might be related fields that should be validated along, e.g.
password
andrepeat password
fields.And a message for the touched field has to be shown right after the field input.
Idea:
Validate touched field by calling
validateFields
function to retrieve an error if it hasvalidateOnChange
orvalidateOnBlur
property.Live example of problem:
https://codesandbox.io/s/validate-on-change-but-form-level-validation-r4tg4
The same example with Formik
https://codesandbox.io/s/formik-form-level-validation-onchange-example-l3568
The text was updated successfully, but these errors were encountered: