@@ -15,7 +15,10 @@ var inputType = {
15
15
*
16
16
* @param {string } ngModel Assignable angular expression to data-bind to.
17
17
* @param {string= } name Property name of the form under which the control is published.
18
- * @param {string= } required Sets `required` validation error key if the value is not entered.
18
+ * @param {string= } required Adds `required` validation error key if the value is not entered.
19
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
20
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
21
+ * `required` when you want to data-bind to the `required` attribute.
19
22
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
20
23
* minlength.
21
24
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -93,6 +96,9 @@ var inputType = {
93
96
* @param {string= } min Sets the `min` validation error key if the value entered is less then `min`.
94
97
* @param {string= } max Sets the `max` validation error key if the value entered is greater then `min`.
95
98
* @param {string= } required Sets `required` validation error key if the value is not entered.
99
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
100
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
101
+ * `required` when you want to data-bind to the `required` attribute.
96
102
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
97
103
* minlength.
98
104
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -159,6 +165,9 @@ var inputType = {
159
165
* @param {string } ngModel Assignable angular expression to data-bind to.
160
166
* @param {string= } name Property name of the form under which the control is published.
161
167
* @param {string= } required Sets `required` validation error key if the value is not entered.
168
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
169
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
170
+ * `required` when you want to data-bind to the `required` attribute.
162
171
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
163
172
* minlength.
164
173
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -224,6 +233,9 @@ var inputType = {
224
233
* @param {string } ngModel Assignable angular expression to data-bind to.
225
234
* @param {string= } name Property name of the form under which the control is published.
226
235
* @param {string= } required Sets `required` validation error key if the value is not entered.
236
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
237
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
238
+ * `required` when you want to data-bind to the `required` attribute.
227
239
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
228
240
* minlength.
229
241
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -653,6 +665,9 @@ function checkboxInputType(scope, element, attr, ctrl) {
653
665
* @param {string } ngModel Assignable angular expression to data-bind to.
654
666
* @param {string= } name Property name of the form under which the control is published.
655
667
* @param {string= } required Sets `required` validation error key if the value is not entered.
668
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
669
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
670
+ * `required` when you want to data-bind to the `required` attribute.
656
671
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
657
672
* minlength.
658
673
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -677,6 +692,7 @@ function checkboxInputType(scope, element, attr, ctrl) {
677
692
* @param {string } ngModel Assignable angular expression to data-bind to.
678
693
* @param {string= } name Property name of the form under which the control is published.
679
694
* @param {string= } required Sets `required` validation error key if the value is not entered.
695
+ * @param {boolean= } ngRequired Sets `required` attribute if set to true
680
696
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
681
697
* minlength.
682
698
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
0 commit comments