@@ -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
@@ -85,6 +88,9 @@ var inputType = {
85
88
* @param {string= } min Sets the `min` validation error key if the value entered is less then `min`.
86
89
* @param {string= } max Sets the `max` validation error key if the value entered is greater then `min`.
87
90
* @param {string= } required Sets `required` validation error key if the value is not entered.
91
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
92
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
93
+ * `required` when you want to data-bind to the `required` attribute.
88
94
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
89
95
* minlength.
90
96
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -151,6 +157,9 @@ var inputType = {
151
157
* @param {string } ngModel Assignable angular expression to data-bind to.
152
158
* @param {string= } name Property name of the form under which the control is published.
153
159
* @param {string= } required Sets `required` validation error key if the value is not entered.
160
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
161
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
162
+ * `required` when you want to data-bind to the `required` attribute.
154
163
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
155
164
* minlength.
156
165
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -216,6 +225,9 @@ var inputType = {
216
225
* @param {string } ngModel Assignable angular expression to data-bind to.
217
226
* @param {string= } name Property name of the form under which the control is published.
218
227
* @param {string= } required Sets `required` validation error key if the value is not entered.
228
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
229
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
230
+ * `required` when you want to data-bind to the `required` attribute.
219
231
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
220
232
* minlength.
221
233
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -638,6 +650,9 @@ function checkboxInputType(scope, element, attr, ctrl) {
638
650
* @param {string } ngModel Assignable angular expression to data-bind to.
639
651
* @param {string= } name Property name of the form under which the control is published.
640
652
* @param {string= } required Sets `required` validation error key if the value is not entered.
653
+ * @param {string= } ngRequired Adds `required` attribute and `required` validation constraint to
654
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
655
+ * `required` when you want to data-bind to the `required` attribute.
641
656
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
642
657
* minlength.
643
658
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
@@ -662,6 +677,7 @@ function checkboxInputType(scope, element, attr, ctrl) {
662
677
* @param {string } ngModel Assignable angular expression to data-bind to.
663
678
* @param {string= } name Property name of the form under which the control is published.
664
679
* @param {string= } required Sets `required` validation error key if the value is not entered.
680
+ * @param {boolean= } ngRequired Sets `required` attribute if set to true
665
681
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
666
682
* minlength.
667
683
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
0 commit comments