We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TriStateCheckbox triggering onChange event two times on clicking the label with two different value each time, when inputId is passed
Ubuntu 20.04.6 LTS
https://stackblitz.com/edit/p9czyh?file=src%2Fapp%2Ftri-state-checkbox-basic-demo.html,src%2Fapp%2Ftri-state-checkbox-basic-demo.ts
18
17.18.4
Angular CLI App
TypeScript
18.19.1
Chrome Version 123.0.6312.86 (Official Build) (64-bit)
1: Click on the label of TriCheckbox 2: Look at the console, it triggers the event two times with different values each time.
It should trigger the event only once on clicking the label
The text was updated successfully, but these errors were encountered:
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! ✨
Sorry, something went wrong.
No branches or pull requests
Describe the bug
TriStateCheckbox triggering onChange event two times on clicking the label with two different value each time, when inputId is passed
Environment
Ubuntu 20.04.6 LTS
Reproducer
https://stackblitz.com/edit/p9czyh?file=src%2Fapp%2Ftri-state-checkbox-basic-demo.html,src%2Fapp%2Ftri-state-checkbox-basic-demo.ts
Angular version
18
PrimeNG version
17.18.4
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Chrome Version 123.0.6312.86 (Official Build) (64-bit)
Steps to reproduce the behavior
1: Click on the label of TriCheckbox
2: Look at the console, it triggers the event two times with different values each time.
Expected behavior
It should trigger the event only once on clicking the label
The text was updated successfully, but these errors were encountered: