Radio Button not support formControlName in reactive form
- 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:
proposal
#### What is the expected behavior?
mat-radio-button should support formControlName
#### What is the current behavior?
get Error:
ERROR Error: No value accessor for form control with name: 'gender'
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-slemqj-ojrv1g
#### What is the use-case or motivation for changing an existing behavior?
mat-radio-button should support formControlName withiout parrent mat-radio-group, like native html input with type radio. There is a lot use cases when you cant use mat-radio-group due to DOM restrictions
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.0.0
Material: 5.0.3
OS: Windows
TypeScript: 2.7.0
#### Is there anything else we should know?
Guía de contribución
Línea de trabajo
Comienza con la reproducción vinculada en StackBlitz y sigue cómo Angular Material's mat-radio-button participa en los formularios reactivos. El trabajo estará terminado cuando un mat-radio-button pueda usar formControlName sin un mat-radio-group padre y el error de value-accessor informado ya no se produzca.
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