We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fc9933 commit 21aa003Copy full SHA for 21aa003
test/ng/directive/validatorsSpec.js
@@ -351,7 +351,7 @@ describe('validators', function() {
351
352
353
it('should accept values of any length when maxlength is non-numeric', function() {
354
- var inputElm = helper.compileInput('<input type="text" ng-model="value" ng-maxlength="{{maxlength}}" />');
+ var inputElm = helper.compileInput('<input type="text" ng-model="value" ng-maxlength="maxlength" />');
355
helper.changeInputValueTo('aaaaaaaaaa');
356
357
$rootScope.$apply('maxlength = "5"');
0 commit comments