Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/datepickerfeatureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions