bug(form-field): difficult to customize shape with tokens
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
19
### Description
When using mat-form-field in filled appearance, I want to shape the border-radius. I use this token
--mdc-filled-text-field-container-shape: 4px !important;
But it only applies to the top corners and not the bottom corners because this token uses the wrong container to set radius. It sets the radius on a level where the div for hints and errors is also included.
And by that the bottom corners are not set with that token
### Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
### Expected Behavior
Apply radius also to bottom corners
### Actual Behavior
not applying radius to bottom corners
### Environment
- Angular: 19
- CDK/Material: 19
- Browser(s): firefox
- Operating System (e.g. Windows, macOS, Ubuntu): windows
Guía de contribución
Línea de trabajo
Comienza examinando la apariencia rellena de Angular Material mat-form-field y cómo se aplica --mdc-filled-text-field-container-shape. Reproduce el estilo indicado con Angular 19 y, después, rastrea qué contenedor es el propietario de las esquinas inferiores; se considera terminado cuando el token aplica de forma consistente el radio solicitado a todas las esquinas, incluso cuando hay textos de ayuda o errores.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, css, typescript
- Área
- design, frontend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100