You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The problem if that form 1 can not detect the max error.
This issue was found in both 1.2.x and 1.3.x.
I haven't test the other validators, such as min, max-length, may be there are some problem.
The text was updated successfully, but these errors were encountered:
The problem seems to be at L1253 (if (attr.max || attr.ngMax) {), were we should be checking if attr.max/ngMax are defined (not truthy).
Interestingly enough, we are (almost) doing the right thing at L1179 for the date input (if (isDefined(attr.max) || attr.ngMax) {); at least for the max attribute.
…ue is
- fix issue angular#10307
- change tests to corresponding changes
- also change tests for ngmax and ngmin (though they have no some issue)
Closesangular#10307
tobyee
added a commit
to tobyee/angular.js
that referenced
this issue
Dec 6, 2014
…ue is
- fix issue angular#10307
- change tests to corresponding changes
- also change tests for ngmax and ngmin (though they have no some issue)
Closesangular#10307
Demo Html, or view it on Plunker
Result:
The problem if that form 1 can not detect the max error.
This issue was found in both 1.2.x and 1.3.x.
I haven't test the other validators, such as min, max-length, may be there are some problem.
The text was updated successfully, but these errors were encountered: