When RadioButton is selected, clicking on it does not trigger the onClick event. #5610
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
Clicking on a selected item does not trigger the onClick event.
This makes it impossible to write code to cancel the current selection.
Reproducer
https://codesandbox.io/p/sandbox/radio-bux-7m27iq-forked-pyjt4y?file=%2Fsrc%2Fdemo%2FRadioButtonDemo.tsx%3A17%2C1
PrimeReact version
10.2.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome 120
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: