MultiSelect component triggers two empty change events when rendered #14103
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the multiselect is configured with the following properties, it will launch two
onChange
events withvalue: null
and withoutoriginalEvent
Environment
Angular: 16.2.7
PrimeNG: 16.7.0
Browser: latest Chrome
Reproducer
https://stackblitz.com/edit/djzi3p-5kiysu?file=src%2Fapp%2Fdemo%2Fmulti-select-basic-demo.ts
Angular version
16.2.7
PrimeNG version
16.7.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20.2
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Should not launch two empty
onChange
events when rendered.The text was updated successfully, but these errors were encountered: