Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
it will run validate all the time.
What is the current behavior?
it will run validate only after i select a date.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://stackblitz.com/edit/angular-szevpj?file=app/datepicker-filter-example.html
step to fail :
- keyin value 'abc' in datepicker input
- unblur the input
- you should see the 'required' and 'matDatepickerParse' error, but 'matDatepickerParse' missing.
step to success :
- select a date first
- change input value to 'abc'.
- you will see the 'required' and 'matDatepickerParse' error. it is expected behavior.
What is the use-case or motivation for changing an existing behavior?
In Material 5.x, it work as expected.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.3
Material 6.1.0