angular / angular/components

Add 3 state option to multiple select

Abierto
#11,047 2 comentarios 8 reacciones 0 asignados Ver en GitHub
area: material/select feature P4
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### Bug, feature request, or proposal:
feature request

#### What is the expected behavior?
Be able to use `Intermediate` inside `mat-option` like you currently can inside `mat-checkbox`

checkbox with the Intermediate set to true:
![image](https://user-images.githubusercontent.com/20732674/39365105-3477c3c2-49fe-11e8-8224-184864206ef3.png)

multiple select
![image](https://user-images.githubusercontent.com/20732674/39365230-8c06f8a6-49fe-11e8-8525-1a4847fa2297.png)

#### What is the current behavior?
The multiple select can only support 2 states.

#### What is the use-case or motivation for changing an existing behaviour?
I want to provide the use a multi select with options for filtering another check box list. If option one is checked in the multi select all corresponding items from the checkbox list should be checked. If the user then unchecks one of those items the multi select should be updated to the intermediate state.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza en los puntos de entrada mat-select y mat-option de Angular Material y compara después su comportamiento actual de dos estados con la opción Intermediate de mat-checkbox mencionada en el issue. El trabajo estará terminado cuando las opciones de selección múltiple admitan un estado Intermediate y el estado se actualice cuando cambien las selecciones correspondientes.

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
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.