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
This may be a dumb question but it doesn't seem obvious to me how you show validation errors for all fields with errors when a form is submitted. The component does a good job of showing validation errors in a field once you focus into that field and then focus out of it. However, when the form is submitted and validation has failed, I need it to highlight the fields where the validation has failed including fields with a presence validator which the user may not even have focussed on at all before submitting the form.
Is there any easy way to just 'show all errors' on the form?
The text was updated successfully, but these errors were encountered:
I once had a pull request which did that. but it never got accepted (#52) you can check out my repo which should be usable for you. To use it bind showAllErrors to a boolean
This may be a dumb question but it doesn't seem obvious to me how you show validation errors for all fields with errors when a form is submitted. The component does a good job of showing validation errors in a field once you focus into that field and then focus out of it. However, when the form is submitted and validation has failed, I need it to highlight the fields where the validation has failed including fields with a presence validator which the user may not even have focussed on at all before submitting the form.
Is there any easy way to just 'show all errors' on the form?
The text was updated successfully, but these errors were encountered: