JohannesHoppe / angular-date-value-accessor

Home of the Angular DateValueAccessor for <input type="date">
http://johanneshoppe.github.io/angular-date-value-accessor/
MIT License
78 stars 19 forks source link

An error: ValueAsDate is not a date. #12

Closed Reuno92 closed 6 years ago

Reuno92 commented 6 years ago

Hi, I've a message and I don't understand. I need someone to explain to me what I'm doing wrong.

My value is : "1994-01-01" And I've a error like :

TypeError: Value being assigned to HTMLInputElement.valueAsDate is not a date.
JohannesHoppe commented 6 years ago

Looks like HTMLInputElement::valueAsDate setter support for type=date is not there. Please try another browser.

see also https://github.com/JohannesHoppe/angular-date-value-accessor/issues/2