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
I would like to be able to configure the form to have certain validations run at different times than other validations.
For example, one validation may make sense only to run on submit, while others should run on input for real-time feedback to the user.
A simple use case is the required validation, which feels natural to apply on submit, but feels aggressive when it throws an error if the user is working their way through the form and may have touched a field but is not yet ready to submit.
In other cases, immediate feedback about the input value is important, such as limiting the input to a certain maximum and giving the user immediate feedback so they can correct it while they are working on that field, rather than needing to go back and fix it upon submission.
Hope that makes sense! Thanks for all you do to create and maintain this library!
The text was updated successfully, but these errors were encountered:
Thank you for creating this issue. For simple forms you can manually trigger validate for specific fields as a workaround. Don't expect a quick response to this issue as I am currently focused on my other library Valibot.
I would like to be able to configure the form to have certain validations run at different times than other validations.
For example, one validation may make sense only to run on submit, while others should run on input for real-time feedback to the user.
A simple use case is the
required
validation, which feels natural to apply on submit, but feels aggressive when it throws an error if the user is working their way through the form and may have touched a field but is not yet ready to submit.In other cases, immediate feedback about the input value is important, such as limiting the input to a certain maximum and giving the user immediate feedback so they can correct it while they are working on that field, rather than needing to go back and fix it upon submission.
Hope that makes sense! Thanks for all you do to create and maintain this library!
The text was updated successfully, but these errors were encountered: