Open akhopkar opened 9 years ago
I once had a pull request which did that. but it never got accepted (https://github.com/indexiatech/ember-forms/pull/52) you can check out my repo which should be usable for you. To use it bind showAllErrors to a boolean
This will get added to the new ember-rapid-forms repo (https://github.com/piceaTech/ember-rapid-forms) as soon as possible now.
Is it added yet?
This may be a dumb question but it doesn't seem obvious to me how you show validation errors for all fields with errors when a form is submitted. The component does a good job of showing validation errors in a field once you focus into that field and then focus out of it. However, when the form is submitted and validation has failed, I need it to highlight the fields where the validation has failed including fields with a presence validator which the user may not even have focussed on at all before submitting the form.
Is there any easy way to just 'show all errors' on the form?