Component: disabled Select placeholder has disabled value color Style (v18.0.0) #17161
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Milestone
Describe the bug
A disabled Select component applies the text color for disabled values to the placeholder.
This happens because
in selectstyle.ts:98
takes precedence over
in selectstyle.ts:86
This isn't noticable with the default theme, as both
select.placeholder.color
andselect.disabled.color
are set tosurface.500
. But in my customized theme, where those differ, I can't tell, if a disabled select has a value selected or not.Environment
Windows 10
Firefox 128.3.1esr
Reproducer
https://stackblitz.com/edit/stackblitz-starters-recoyrma?file=src%2Fapp%2Fapp.component.html
Angular version
18
PrimeNG version
18
Node version (for AoT issues node --version)
No response
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
I think the placeholder should have
select.placeholder.color
applied, whether the component is enabled or disabled.The text was updated successfully, but these errors were encountered: