- Open Datepicker in an embedded form
- Select Date
- Datefield appears red (invalid)
- Datefield appears black (valid)
We use the datepicker from angular-ui. angular-ui has a bug: the $viewValue is a date-object instead of a string, which it should be according to the angular specification. Therefore, our validation fails.
- Delete a character
- re-enter the character
-> Datefiled validates correctly