angular / angular/components

Give compareWith object mapping for SelectionModel same that of mat Select

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

Description

### Feature Description

It's hard to map the object's other properties in the select something in the list using SelectionModel
Please give a option to map the object's unique key to the selection like we have it for Mat Select using compareWith

### Use Case

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by tracing SelectionModel and comparing its current selection behavior with Mat Select's compareWith option. Define how a unique object key should be supplied and verify that selection remains correct when object instances differ; done means the mapping option works for the stated object-selection use case and has coverage in the relevant tests.

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
35/100

Recevez les nouvelles issues par e-mail

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