-
Notifications
You must be signed in to change notification settings - Fork 6.8k
-
feature request or proposal:
mat-datepicker is really doing great job, but i would like to have a feature where we can listen to next and previous button clicks.
What is the expected behavior?
Emit those events from calendar header and from date picker so that we can listen from our component.
calendar-header > emit > date picker > emit > user component
What is the current behavior?
Need to override the calendar-header just for one functionality
What is the use-case or motivation for changing an existing behavior?
On date change, we need to do some validations and apply style to the dates.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 8
Replies: 5 comments
-
Any updates for this feature?
Beta Was this translation helpful? Give feedback.
All reactions
-
Currently, we found two ways to handle in manually. @skota524 maybe it may help you
1 - Subscribe to the next/previous header buttons click
querySelector
2 - Update needed styles using Subject +distinctUntilChanged()
image
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
🚀 2
-
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello, this feature is not in our roadmap, but it is still open for discussion.
Beta Was this translation helpful? Give feedback.