-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Is your feature request related to a problem? Please describe.
Angular Material Datepicker Multi-year view has 24 years in the table.

Hopefully want to set the yearsPerPage dynamically as well.
<mat-datepicker #picker [yearsPerPage]="N">
Describe the solution you'd like
Can we set this value via API?
<mat-datepicker #picker [yearsPerPage]="N">
Describe alternatives you've considered
We can set date range dynamically using MAT_DATE_RANGE_SELECTION_STRATEGY
/** Injection token used to customize the date range selection behavior. */
export const MAT_DATE_RANGE_SELECTION_STRATEGY =
new InjectionToken('MAT_DATE_RANGE_SELECTION_STRATEGY');
Additional context
Metadata
Metadata
Assignees
Labels
No labels