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.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngModel does not work for input[type="date"] #1650
I can confirm that this issue still persists as of Angular version 1.2.3. Auto-binding on an input type='text' doesn't work. I also tried setting the value attribute to the model's date value, but that too didn't work. Here's what I was trying —
Activity
johnnyelwailer commentedon Dec 5, 2012
it should be maybe possible to enable support for custom types?
btford commentedon Aug 24, 2013
As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.
Please try the newest versions of Angular (
1.0.8and1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.Thanks!
anirvan-majumdar commentedon Jan 7, 2014
Hello Brian,
I can confirm that this issue still persists as of Angular version 1.2.3. Auto-binding on an
input type='text'doesn't work. I also tried setting thevalueattribute to the model's date value, but that too didn't work. Here's what I was trying —ashclarke commentedon Feb 25, 2014
Still exists in 1.2.10. Using Chrome 33 and the same sort of code as anirvan-majumdar, except I have tried date as
"yyyy-MM-dd"and"dd/MM/yyyy".caitp commentedon Feb 25, 2014
@ashclarke there is work being done on this, I think we'll probably be able to ship @Blesh's work fairly early in 1.3.
ashclarke commentedon Feb 25, 2014
Thanks for the update @caitp!