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

Open
AndrewBoklashko opened this issue Nov 21, 2024 · 0 comments
Open

Checkbox: onBlur does not forward event object #7440

AndrewBoklashko opened this issue Nov 21, 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

@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
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