-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select
Description
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
When you use placeholder
on a Mat Select and disable the Mat Select, the placeholder text color is unchanged.
Reproduction
StackBlitz link: https://stackblitz.com/edit/vuewqf?file=src%2Fexample%2Fselect-reset-example.ts
Steps to reproduce:
- instead of using
<mat-label>
useplaceholder="my placeholder"
and disable the mat-select
Expected Behavior
When you use placeholder
on a Mat Select and disable the Mat Select, the placeholder text should be grayed-out. Just like when you would use <mat-label>
Actual Behavior
When you use placeholder
on a Mat Select and disable the Mat Select, the placeholder text color is unchanged.
Environment
- Angular: 18.2.6
- CDK/Material: 18.2.6
- Browser(s): Chrome Version 129.0.6668.60
- Operating System (e.g. Windows, macOS, Ubuntu): macOS 15.0
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select