FundBoardCo / Hamilton

0 stars 0 forks source link

Show Error Message and Scroll to Error in Profile #173

Open JoshFundBoard opened 3 years ago

JoshFundBoard commented 3 years ago

In the profile, when one of the fields is invalid you might not realize it after clicking Update Profile and navigate away, assuming your changes were saved.

We should add:

  1. A simple error message at the bottom of the form, saying "Please correct the errors above before updating your profile." It should be bold and use the danger color.
  2. If the state of the form is invalid, or had invalid inputs, the update button should be disabled.
  3. The screen should scroll so the first invalid field is in view.
JoshFundBoard commented 3 years ago

Add some error handling to profile.