Skip to content

Allow custom Calendar Header components for the MatCalendar component #15215

@lashisu

Description

@lashisu

What is the expected behavior?

The filter & calendarHeaderComponent should work as mentioned in the document

What is the current behavior?

The filter & calendarHeaderComponent is not working.

What are the steps to reproduce?

StackBlitz starter: https://stackblitz.com/edit/angular-date-filter-moment?file=app%2Fdatepicker-overview-example.ts

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

7.3.1

Is there anything else we should know?

I want to disable some of the dates based on our data & want to make the header so the user can not change its view to month or year.

Metadata

Metadata

Assignees

No one assigned

    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