p-dropdown: Selected value is changed properly, but colors are not updated in the following example #14457
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
Given the following TypeScript code:
And given the following HTML code:
Fllow these steps in order to reproduce the error:
Open the dropdown to view the options available:
Select one option, for example "G". It works as intended.
Pick now letter "A" and see that the color is not updated.
Click on the dropdown "X" icon and select again letter "A", now it works.
The tag will be properly updated in frist select, but subsequent selects (unless dropdown is set to null) won't update the color of the tag.
Environment
Development
Reproducer
No response
Angular version
17
PrimeNG version
17.3.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.10.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: