angular / angular/components

Give compareWith object mapping for SelectionModel same that of mat Select

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

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.