Skip to content

feat(DatePicker): Allow matDatepickerFilter to be undefined #31976

@angelaki

Description

@angelaki

Feature Description

Right now, the matDatepickerFilter function must be set to an instance, if defined. Wrapping a custom control around this component doesn't allow me to set an undefined value, so I always need a fallback function, always returning true. Well, it works, but ...

Use Case

Wrapping a component around the datepicker, passing a generic filter function.

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 fixgood first issueThis issue is a good place to start for first time contributors to the projecthelp wantedThe team would appreciate a PR from the community to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions