p-dropdown: With reactive forms setValue() seems to update the underlying model but does not show changes in dropdown #16519
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
When receiving data from the backend in order to populate a reactive form control and subsequently calling setValue on that very same reactive form control, the underlying data changes but the dropdown does not update with the newly selected item.
Possibly related to this very similar bug: #15765
Environment
Linux
Reproducer
https://stackblitz.com/edit/qxhoel-vy2csn
Angular version
17.3.10
PrimeNG version
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
'New York' becomes the selected option in the "City" dropdown, exactly as it happens downgrading PrimeNG dependency version to ~17.6.0.
The text was updated successfully, but these errors were encountered: