Change the year range in a multi-year view in mat-datepicker
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
**Feature Description**
The possibility to control the year range in a multi-year view in the mat-datepicker in Angular Material 7.
**What is the current behavior?**
Currently the default range of 24 years starts from 2016-2039, and each page backwards offers another 24-year range.
**Use Case**
I need to show a different year range in the multi-year view in the mat-datepicker. I need the possibility to manipulate the year range to be different than the default (which is 2016-2039 in the starting view), e.g. 2010-2033.
This will improve the UX of an application where customers mostly select years beginning from 2010 (customers now need to go to the previous page with a year range from 1992-2015.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo l’implementazione di mat-datepicker e la relativa copertura di test esistente per individuare come la vista multi-anno seleziona il proprio intervallo iniziale di 24 anni. Il lavoro è completato quando i chiamanti possono configurare un intervallo diverso e la vista multi-anno iniziale riflette tale intervallo, incluso l’esempio 2010–2033.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100