Description
Bug, feature request, or proposal:
feature
What is the expected behavior?
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.