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
When binding an array of a data to the p-dropdown control and that data value field is a typescript type the control is unable to display the corresponding name member.
Describe the bug
When binding an array of a data to the p-dropdown control and that data value field is a typescript type the control is unable to display the corresponding name member.
Environment
Primeng 16.7.2
Angular 16.2.0
Reproducer
https://stackblitz.com/edit/bpr5uy-vq3hq7?file=src%2Fapp%2Fdemo%2Fdropdown-basic-demo.html
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
Browser(s)
Any
Steps to reproduce the behavior
Control markup
Type definition
type CityCode = 'NY' | 'LDN' | 'RM' | 'IST' | 'PRS';
Bound values
Output:
Expected behavior
No response
The text was updated successfully, but these errors were encountered: