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
Dropdown component emits value change event for it's corresponding control even so there is emitEvent: false parameter when I call setValue. It happens only if control has no initial value or it's value is null. Not sure if other components have the same issue.
It looks like conditions in allowModelChange method should be updated to fix this.
Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨
Describe the bug
Dropdown component emits value change event for it's corresponding control even so there is
emitEvent: false
parameter when I call setValue. It happens only if control has no initial value or it's value isnull
. Not sure if other components have the same issue.It looks like conditions in
allowModelChange
method should be updated to fix this.Environment
stackblitz
Reproducer
https://stackblitz.com/edit/stackblitz-starters-7jmis4?file=src%2Fmain.ts
Angular version
18.1.0
PrimeNG version
18.0.0-beta.4
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: