p-multiselect is not resetting when using with reactive form #14490
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
P-multiselect is not going back to its default label even after resetting it when using reactive form
Environment
Latest Angular + PrimeNg, easily reproducible (see the StackBlitz link below)
Step 1 :
![MicrosoftTeams-image](https://private-user-images.githubusercontent.com/96906749/294498302-5c36ab42-988e-4a02-ac8c-9b241366789e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjUwNjUsIm5iZiI6MTczOTYyNDc2NSwicGF0aCI6Ii85NjkwNjc0OS8yOTQ0OTgzMDItNWMzNmFiNDItOTg4ZS00YTAyLWFjOGMtOWIyNDEzNjY3ODllLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEzMDYwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjMjIwMGEzMzM2MDE0YWRmM2VjMGM3M2Q1NTg2YmI3YWI3OWM1NzgyYzE4N2E0MDZiMzc1NGY1YzI3MDEyMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZYW_vfqFKcXBqtl4vnSJg538AuPE3PSm-UoeHkqTXcQ)
Step 2:
Step 3:
The checkboxes are unchecked but label is still present with those values.
Reproducer
https://stackblitz.com/edit/swzu6g?file=src%2Fapp%2Fdemo%2Fmulti-select-template-demo.ts
Angular version
17.0.8
PrimeNG version
17.3.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.9.0
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: