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

Checkbox: onBlur does not forward event object #7440

Closed
AndrewBoklashko opened this issue Nov 21, 2024 · 0 comments · Fixed by #7534
Closed

Checkbox: onBlur does not forward event object #7440

AndrewBoklashko opened this issue Nov 21, 2024 · 0 comments · Fixed by #7534
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@AndrewBoklashko
Copy link

AndrewBoklashko commented Nov 21, 2024

Describe the bug

  1. onBlur is executed with undefined as the first argument
  2. onBlur is executed twice

image

Reproducer

https://stackblitz.com/edit/vitejs-vite-v4atuv

System Information

"primereact": "10.8.4"
"react": "^18.2.0"
"react-dom": "^18.2.0"

Steps to reproduce the behavior

  1. Click on checkbox
  2. Click outside the checkbox

Expected behavior

  1. onBlur is executed with event object passed as the first argument
  2. onBlur is executed once
@AndrewBoklashko AndrewBoklashko 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 21, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 30, 2024
@melloware melloware self-assigned this Dec 30, 2024
@melloware melloware added this to the 10.8.6 milestone Dec 30, 2024
melloware added a commit to melloware/primereact that referenced this issue Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants