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 }}
Repository navigation
No event gets fired for mat-datepicker popup close (for the same day) #7626
There should be an event that is fired upon closing the datepicker popup. At the moment dateChanged event is getting fired anytime a date changes but not when the same date is selected.
What is the expected behavior?
I expect at least there is an event that gets fired upon closing the datepicker's popup for the same day.
What is the current behavior?
No events fired upon closing the datepicker's popup for the same day.
What is the use-case or motivation for changing an existing behavior?
This are important in many scenarios. For example, I'm developing a date-time-picker and I show the time picker upon closing the datepicker's popup. The problem happens when I want to select a different time on the same day which is already selected. I click on the date-picker, select the same day and the datepicker's popup gets closed but there is no way I get notified because the dateChanged only fired when it's not the same day.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Activity
willshowell commentedon Oct 12, 2017
Also on r/Angular2.
cc @mmalerba
mmalerba commentedon Oct 12, 2017
Sounds like a reasonable thing to add,
<mat-select>hasonOpenandonCloseevents, should probably use the same names heregeelus commentedon Oct 12, 2017
@mmalerba it'll be perfect! Thanks.
feat(datepicker): dispatch events when datepicker is opened and closed
feat(datepicker): dispatch events when datepicker is opened and closed
feat(datepicker): dispatch events when datepicker is opened and closed
feat(datepicker): dispatch events when datepicker is opened and closed
angular-automatic-lock-bot commentedon Sep 10, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.