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
Would it be possible to get an additional useForm config option to allow somebody to change the behaviour of revalidateOn to keep using that method after a field has been made dirty?
I prefer showing users an error message as soon as it is clear that they have likely made a mistake, to give the user the chance to make the corrections as they progress through a form. In order to do this, I have validateOn set to 'change', and revalidateOn set to input, which works great - however as soon as the user types a value that satisfies validation, if they continue to type and cause a case that fails validation, they won't know that until they blur from the field again. It would be ideal if we could set an option so that once a field has failed validation once, it will keep using the revalidateOn method from that point onwards.
The text was updated successfully, but these errors were encountered:
Would it be possible to get an additional
useForm
config option to allow somebody to change the behaviour ofrevalidateOn
to keep using that method after a field has been made dirty?I prefer showing users an error message as soon as it is clear that they have likely made a mistake, to give the user the chance to make the corrections as they progress through a form. In order to do this, I have
validateOn
set to'change'
, andrevalidateOn
set toinput
, which works great - however as soon as the user types a value that satisfies validation, if they continue to type and cause a case that fails validation, they won't know that until they blur from the field again. It would be ideal if we could set an option so that once a field has failed validation once, it will keep using therevalidateOn
method from that point onwards.The text was updated successfully, but these errors were encountered: