RadioGroup with possibility to deselect an option #4330
c0d3rm0n
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to add a new feature to RadioGroup so we are able to deselect a radio item that is selected like in a Checkbox?
A few releases ago it was possible to use onClick in Radio components and, if the user clicked in an item that was selected, it was possible to set the selection to null. But not it doesn't work now.
I'm not sure it it has something to do with the release of NextUI v2.6.8, where onClick was defined as deprecated and should be replaced by onPress, but it not possible to use onPress in Radio component...
It would be nice to be able to click on the item that is selected to deselect it.
Beta Was this translation helpful? Give feedback.
All reactions