angular / angular/components

Give compareWith object mapping for SelectionModel same that of mat Select

Offen
#24,297 4 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: material/select feature P3
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.