Hi,
I’ve tried using requried=“required” or/and ng-required=“true” on form inputs.
While it works wonderfully on Chrome and Android Chrome, if I run the application as an application (ionic run android) android WebView probably doesn’t recognize this attribute and submit the form even if the required fields haven’t been filled.
Is there any other way to do validation so it’ll work on android application?
It appears that both Android and iOS WebViews do not support html5 validation attributes. http://caniuse.com/#feat=form-validation
How do you do validation than?
For the most part, everyone generally relies on the AngularJS validation. However, that only triggers if the form has a name and uses the ng-submit attribute.