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 May 29, 2019. It is now read-only.
First I change input value 18.06.2015 to 1A8.06.2015 and datepicker correctly informs me that this is invalid value. But if I take the A away it does not validate input field until I remove the first 1. And if I start with 8.06.2015 => A8.06.2015 => 8.06.2015 it works correctly.
The text was updated successfully, but these errors were encountered:
I think, I might have found a related issue that is also reproduceable in https://angular-ui.github.io/bootstrap/#/datepicker on Firefox 38, but not on Firefox 32 or Chrome. If A single digit is deleted from a month or day field in the first popup example, the console log will throw out this:
Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.
This will also seemingly break the model binding, no future changes to the input's value will affect the model until page reload.
I found a situation where Datepicker module does not validate input field. I'm using dd.MM.yyyy format as an example and this can be reproduced in https://angular-ui.github.io/bootstrap/#/datepicker
First I change input value 18.06.2015 to 1A8.06.2015 and datepicker correctly informs me that this is invalid value. But if I take the A away it does not validate input field until I remove the first 1. And if I start with 8.06.2015 => A8.06.2015 => 8.06.2015 it works correctly.
The text was updated successfully, but these errors were encountered: