codefordenver / hawthorn-client

Hawthorn is based on the concept of affinity groups, a group of individuals who come together around a shared experience, interest or common goal. With Hawthorn affinity groups, you are free to start or join conversations and share useful resources with people in your community.
http://hawth.org
Apache License 2.0
2 stars 1 forks source link

Handle validation errors consistently #60

Open trex opened 4 years ago

trex commented 4 years ago

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.

trex commented 4 years ago

This is related to #50