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

Component: TriStateCheckbox #16842

Open
Axe-Pearl opened this issue Nov 26, 2024 · 1 comment
Open

Component: TriStateCheckbox #16842

Axe-Pearl opened this issue Nov 26, 2024 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@Axe-Pearl
Copy link

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

@Axe-Pearl Axe-Pearl 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 26, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 26, 2024
@mertsincan mertsincan added this to the Future milestone Nov 26, 2024
Copy link

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! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
None yet
Development

No branches or pull requests

2 participants