p-multiselect is not resetting when using with reactive form #14490
Labels
LTS-16-PORTABLE
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 :
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: