You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 16.7.2 the p-dropdown component does not work correctly when a patchValue is made only with the dataKey attribute. The dropdown seems to recognise the option to select but does not display any text. It works correctly if the complete object is defined in the patchValue.
The option is selected but does not show the label.
Describe the bug
In version 16.7.2 the p-dropdown component does not work correctly when a patchValue is made only with the dataKey attribute. The dropdown seems to recognise the option to select but does not display any text. It works correctly if the complete object is defined in the patchValue.
The option is selected but does not show the label.
Environment
Windows 10
Reproducer
https://stackblitz.com/edit/fdps8e-gd6q1x?file=src%2Fapp%2Fdemo%2Fdropdown-reactive-forms-demo.ts
Angular version
16.2.0
PrimeNG version
16.7.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Show the label when it is selected by dataKey as version 16.4.2.
Demo with PrimeNG 16.4.2
The text was updated successfully, but these errors were encountered: