-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker
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
Is there anything else we should know?
timbyng, damoe86, jspieker, KlausHans, terio44 and 11 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker