navingator / northwind-web-test

Uses Northwind database for web development testing
MIT License
1 stars 1 forks source link

Harmonize error handling between products and categories #13

Closed navingator closed 7 years ago

navingator commented 7 years ago

Steps

  1. Use a special div to contain the error for each FormControl (.alert-error)
  2. Hide the .alert-error div unless an ancestor has a .has-danger class
  3. Show the .alert-error div once the ancestor has a .alert-error class
  4. Show errors on touched instead of on dirty.

Update this for