bug(FORM-FIELD): Container shape is incorrectly applied for both outlined and filled.
- 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
_No response_
### Description
- Filled container shape only applies to the top half of the container.
- Outline container shape incorrectly uses the shape dimensions as the padding causing very wide fields.
### Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-starter-sd5v83bx?file=package.json
Steps to reproduce:
1. Override form-field-overrides with "filled-container-shape: var(--mat-sys-corner-full),"
2. Override form-field-overrides with "outlined-container-shape: var(--mat-sys-corner-full),"
### Expected Behavior
The form-fields should be a rectangular with fully rounded corners.
### Actual Behavior
Filled form-fields are only rounding the top half.
Outlined form-fields are become 18000px wide
### Environment
- Angular: 19.2.6
- CDK/Material: 19.2.9
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Mac
Guía de contribución
Línea de trabajo
Comienza con la reproducción proporcionada en StackBlitz y la configuración de form-field-overrides para los campos rellenos y delineados. Verifica el comportamiento con las versiones especificadas de Angular y Material y, a continuación, confirma que ambas variantes tienen esquinas rectangulares completamente redondeadas sin que el campo delineado se vuelva excesivamente ancho.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, css, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100