aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorCaitlin Potter2014-01-22 22:30:20 -0500
committerCaitlin Potter2014-02-21 18:03:24 -0500
commitc2d447e378dd72d1b955f476bd5bf249625b4dab (patch)
tree91a17928d9be9f815e74751a8efbe6867b087903 /scripts
parent75515852ea9742d3d84a0f463c2a2c61ef2b7323 (diff)
downloadangular.js-c2d447e378dd72d1b955f476bd5bf249625b4dab.tar.bz2
fix(input): use ValidityState to determine validity
In browsers where HTML5 constraint validation is (partially) implemented, an invalid number entered into an input[type=number] (for example) input element would be visible to the script context as the empty string. When the required or ngRequired attributes are not used, this results in the invalid state of the input being ignored and considered valid. To address this, a validator which considers the state of the HTML5 ValidityState object is used when available. Closes #4293 Closes #2144 Closes #4857 Closes #5120 Closes #4945 Closes #5500 Closes #5944
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions