Open Exegetech opened 8 years ago
It doesn't have to. It's already in AngularJS (search for AngularJS form validation on the internet).
The issue here is input validation. When trying to use a custom function, ui-validate or roll your own, the validation function is attached to the label not the input field.
If you want, you can use the angular NgMessages.
https://docs.angularjs.org/api/ngMessages/directive/ngMessages
Ps: I only don't recommend, if you are using Modal (IonicModal).
Hi,
Does Ionic Material includes form validation component in its forms?