angular / angular/components

Give compareWith object mapping for SelectionModel same that of mat Select

Aperta
#24,297 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub
area: material/select feature P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.