bug(MatSelect): placeholder overrules disabled styling #29807
Labels
area: material/select
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
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:
<mat-label>
useplaceholder="my placeholder"
and disable the mat-selectExpected 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
The text was updated successfully, but these errors were encountered: