angular / angular/components

Add 3 state option to multiple select

Ouverte
#11,047 2 commentaires 8 réactions 0 personnes assignées Voir sur GitHub
area: material/select feature P4
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par les points d’entrée mat-select et mat-option de Angular Material, puis comparez leur comportement actuel à deux états avec l’option Intermediate de mat-checkbox mentionnée dans l’issue. Le travail est terminé lorsque les options de sélection multiple prennent en charge un état Intermediate et que l’état est mis à jour lorsque les sélections correspondantes changent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.