@@ -41,7 +41,7 @@ var inputType = {
41
41
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
42
42
* minlength.
43
43
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
44
- * maxlength.
44
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
45
45
* @param {string= } pattern Similar to `ngPattern` except that the attribute value is the actual string
46
46
* that contains the regular expression body that will be converted to a regular expression
47
47
* as in the ngPattern directive.
@@ -589,7 +589,7 @@ var inputType = {
589
589
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
590
590
* minlength.
591
591
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
592
- * maxlength.
592
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
593
593
* @param {string= } pattern Similar to `ngPattern` except that the attribute value is the actual string
594
594
* that contains the regular expression body that will be converted to a regular expression
595
595
* as in the ngPattern directive.
@@ -676,7 +676,7 @@ var inputType = {
676
676
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
677
677
* minlength.
678
678
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
679
- * maxlength.
679
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
680
680
* @param {string= } pattern Similar to `ngPattern` except that the attribute value is the actual string
681
681
* that contains the regular expression body that will be converted to a regular expression
682
682
* as in the ngPattern directive.
@@ -764,7 +764,7 @@ var inputType = {
764
764
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
765
765
* minlength.
766
766
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
767
- * maxlength.
767
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
768
768
* @param {string= } pattern Similar to `ngPattern` except that the attribute value is the actual string
769
769
* that contains the regular expression body that will be converted to a regular expression
770
770
* as in the ngPattern directive.
@@ -1370,7 +1370,7 @@ function checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filt
1370
1370
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
1371
1371
* minlength.
1372
1372
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
1373
- * maxlength.
1373
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
1374
1374
* @param {string= } ngPattern Sets `pattern` validation error key if the value does not match the
1375
1375
* RegExp pattern expression. Expected value is `/regexp/` for inline patterns or `regexp` for
1376
1376
* patterns defined as scope expressions.
@@ -1402,7 +1402,7 @@ function checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filt
1402
1402
* @param {number= } ngMinlength Sets `minlength` validation error key if the value is shorter than
1403
1403
* minlength.
1404
1404
* @param {number= } ngMaxlength Sets `maxlength` validation error key if the value is longer than
1405
- * maxlength.
1405
+ * maxlength. Setting maxlength to a negative or non-numeric value disables the check.
1406
1406
* @param {string= } ngPattern Sets `pattern` validation error key if the value does not match the
1407
1407
* RegExp pattern expression. Expected value is `/regexp/` for inline patterns or `regexp` for
1408
1408
* patterns defined as scope expressions.
0 commit comments