-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team
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
// theme.scss
@include mat.option-overrides((
selected-state-label-text-color: red,
));
When multiple selection is enabled in a mat-select component, the options override styling for selected label text color is not applied to the selected options in the drop-down.
Reproduction
StackBlitz link: link
Steps to reproduce:
- select one or more options from toppings
- select an option from Favorite food
Expected Behavior
the selected option labels in both drop down menus will appear red.
Actual Behavior
The selected option labels in the favorite food drop down turn red, and the selected options labels under toppings remain the default green color.
Environment
- Angular: 20.3.15
- CDK/Material: 20.2.14
- Browser(s): firefox
- Operating System (e.g. Windows, macOS, Ubuntu): Rocky Linux
Metadata
Metadata
Assignees
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team