Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle validation errors consistently #60

Open
2 tasks
trex opened this issue Feb 6, 2020 · 1 comment
Open
2 tasks

Handle validation errors consistently #60

trex opened this issue Feb 6, 2020 · 1 comment
Labels

Comments

@trex
Copy link
Collaborator

trex commented Feb 6, 2020

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
@trex trex added the frontend label Feb 6, 2020
@trex
Copy link
Collaborator Author

trex commented Feb 8, 2020

This is related to #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant