Skip to content

Listen to next and previous button clicks of mat-datepicker with out custom header #13756

@skota524

Description

@skota524

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.

Metadata

Metadata

Assignees

Labels

P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/datepickerfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions