angular1.0 ionic app, uses the keyboard to enter content, and when you click the next button, determine whether the inputs.inputTwo has content, and pop up a prompt if not. The
page code is as follows:
<span>
<input ng-model="inputs.inputTwo" type="text" placeholder="" />
</span>
the js code is as follows:
$scope.inputs = {
inputTwo: ""
};
if ($scope.inputs.inputTwo == "") {
...
}
everything is fine on the third-party keyboard on IOS. When using the native keyboard, type in the input box, then click on the space on the page to make input lose focus, and click next. A hint also popped up at this time.