p-radioButton: can't get the value from onClick event #11861
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When I use
onClick
output method, depending on whether I clicked on the label or on the radio-button-box elements, I get different objects in the output event. and can not access value of radioButton when click on radio-button-box.The ideal is to have an
onChange
event and get an object containingoriginalEvent
andvalue
like other components (such p-dropdown).Environment
windows
Reproducer
No response
Angular version
14.1.0
PrimeNG version
14.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.6.4
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: