angular / angular/components

Change the year range in a multi-year view in mat-datepicker

Abierto
#18,227 6 comentarios 13 reacciones 0 asignados Ver en GitHub
area: material/datepicker feature P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza leyendo la implementación de mat-datepicker y su cobertura de pruebas existente para localizar cómo la vista de varios años selecciona su rango inicial de 24 años. Se considera terminado cuando los llamadores pueden configurar un rango diferente y la vista inicial de varios años refleja ese rango, incluido el ejemplo 2010–2033.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.