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
In some cases it might be necessary to run validations that are asynchronous. For example, you might want to see if an email is already registered while the user is typing.
ajv already supports async validation, but using that means that the validate function will return a promise. This is a problem because we're calling validate inside the form's state reducer.
The text was updated successfully, but these errors were encountered:
In some cases it might be necessary to run validations that are asynchronous. For example, you might want to see if an email is already registered while the user is typing.
ajv
already supports async validation, but using that means that thevalidate
function will return a promise. This is a problem because we're callingvalidate
inside the form's state reducer.The text was updated successfully, but these errors were encountered: