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
feat(MatDatepicker): observable that emits the seleced year in year mode #9458
featureLabel used to distinguish feature request from other issueshelp wantedLabel noting an issue which the team is looking for contribution from the community to fix
When you click on year label, the calendar switches to multi-year mode. After that, when you select an year, there could be an observable or @Output property that emits the year (a number) chosen before switching to the year view.
Following this path, it would be nice if there was another observable that emits the month (a number) when the month is selected (in the year view), also before switching to the month view.
What is the current behavior?
There are no such observables nor @Output properties.
What is the use-case or motivation for changing an existing behavior?
Sometimes you want to choose just an year or a month. I think some day there will be this possibility, but for now, such a feature could help a lot, as the developer could just get the year selected and close the calendar programmatically.
Is there anything else we should know?
It's related to #4853, but it seems to be a quickier solution that does no harm in the long term.
featureLabel used to distinguish feature request from other issueshelp wantedLabel noting an issue which the team is looking for contribution from the community to fix
Activity
mmalerba commentedon Jan 27, 2018
I'd be fine with this change, seems like a reasonable way to let people work around current limitations
julianobrasil commentedon Jan 27, 2018
Ok. I'll give it a shot.
angular-automatic-lock-bot commentedon Sep 8, 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.