Open
Description
openedon Oct 1, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment