mat-select - Allow mat-option selected property to be settable
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### Bug, feature request, or proposal:
Feature request
#### What is the expected behavior?
To be able to set the mat-option selected property
#### What is the current behavior?
Currently the mat-option selected property is readonly and you have to programatically select options.
#### What is the use-case or motivation for changing an existing behavior?
Being able to bind to the selected property would be a cleaner implementation for a user versus having to do it manually, especially in cases where using cascading mat-select with multiple=true (harder to manage)
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.3
Material 2.0.0-beta.11
Windows 10
TypeScript - 2.5.2
All browsers
Guía de contribución
Línea de trabajo
Comienza leyendo la implementación de mat-select y mat-option para entender cómo se gestiona actualmente la propiedad readonly selected. Confirma el comportamiento de binding previsto para mat-option, incluidos los casos de mat-select en cascada con multiple=true. El trabajo estará terminado cuando selected pueda establecerse o enlazarse según lo solicitado sin romper el comportamiento de selección existente.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100