Skip to content

Handle validation errors consistently #60

@trex

Description

@trex

We need to display user-input validation errors to the user when they are (or before they) submit a form.

I created a ValidationError component that I am using on the AddGroup form. I want to discuss server validation strategies and make a decision collectively how we want to handle this. The ValidationError component may not be the right strategy 🤷‍♂️.

We should also keep the form populated if they fail validation.

  • Handle validation errors
  • Form remains populated on validation failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions