This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
input["email"] and ngRequired are not working together anymore #7849
Closed
Description
input["email"] and ngRequired are not working together anymore
version : 1.3.0-beta.11
browsers: chrome, safari
OS: osx mavericks
hi guys, there is a regression in 1.3.x, that you can easily reproduce.
- go to page https://code.angularjs.org/1.3.0-beta.12/docs/api/ng/input/input%5Bemail%5D at the example in the bottom.
- clear the field (using select all, backspace)
- => now
myForm.$error.required
istrue
, which is correct - type 'a'
- =>
myForm.$error.required
is stilltrue
, and this is wrong
this used to work in stable version (https://code.angularjs.org/1.2.18/docs/api/ng/input/input%5Bemail%5D)
thanks