Required="required" not working on Android Application

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?

1 Like

It appears that both Android and iOS WebViews do not support html5 validation attributes.
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.

If you’ve got a specific CodePen sample, we can take a look at it too.