Skip to content

How do you show validation errors for all fields? #91

Description

@akhopkar

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions