Component: Dropdown - If editable is true and optionValue is present, the selected option will not be shown #14427
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the "enabled" flag is se to true and the optionValue is different than the default value('value') then after selecting an option in the dropdown, the selected option will not be visible in the UI.
The stackblitz file contains two cases: the first one is working and the second one is not working because of the optionValue.
Environment
Angular 17.0.8 + PrimeNG 17.2.0
Reproducer
https://stackblitz.com/edit/unjmt9-fsxjbz?file=src%2Fapp%2Fdemo%2Fdropdown-editable-component.html
Angular version
17.0.8
PrimeNG version
17.2.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
Chrome 120.0
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: