Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown: does not respect emitEvent false #16755

Open
andrii-dymov opened this issue Nov 15, 2024 · 0 comments
Open

Dropdown: does not respect emitEvent false #16755

andrii-dymov opened this issue Nov 15, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@andrii-dymov
Copy link

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 is null. Not sure if other components have the same issue.
It looks like conditions in allowModelChange method should be updated to fix this.
image

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

@andrii-dymov andrii-dymov added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant