You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
entering "jjj" into the age field causes a validation error
follow that by entering "123" into to age field should give just that validation error,
but instead it shows the previous error plus the current validation error
It's like all validations just get appended in app/javascripts/controllers/ContactsEditCtrl.js
in the push within the method errorMessage.
How do you "reset/clear" the validation errors between/before each submit to rails ?
Thanks for the git examples and the book :-)
chris
The text was updated successfully, but these errors were encountered:
In chapter9+recipe1+contacts, for example:
but instead it shows the previous error plus the current validation error
It's like all validations just get appended in app/javascripts/controllers/ContactsEditCtrl.js
in the push within the method errorMessage.
How do you "reset/clear" the validation errors between/before each submit to rails ?
Thanks for the git examples and the book :-)
chris
The text was updated successfully, but these errors were encountered: