Open fixpunkt opened 9 years ago
The following example is given in the section "Force Validity Check":
<form name="userForm"> <div class="form-group" show-errors> <input type="text" name="firstName" ng-model="firstName" ng-required /> </div> <input type="submit" ng-click="save()" /> </form>
This does not set the required attribute for current versions of Angular. ng-required should be replaced by required or ng-required="true" here.
required
ng-required
ng-required="true"
The following example is given in the section "Force Validity Check":
This does not set the
required
attribute for current versions of Angular.ng-required
should be replaced byrequired
orng-required="true"
here.