Unselect Option from RadioGroup #855
Replies: 3 comments 1 reply
-
I'm a bit confused about your question. The Is the only goal here to deselect the active one if you tap on that one (your question)? Or is the goal to only ever select one (your code snippet)? |
Beta Was this translation helpful? Give feedback.
-
it would be really useful to have the checkbox version, like CheckboxGroup, so that:
|
Beta Was this translation helpful? Give feedback.
-
If you're desperate like I was, a reasonable hack is to create a radio group with an extra, hidden option that represents null or "no selection". If the user selects the already chosen option, manually change the selected value to that. |
Beta Was this translation helpful? Give feedback.
-
I wish there was a way to easily detect if the same option that was previously selected was selected again. In my use case, I would like to deselect this option.
Something like this:
Beta Was this translation helpful? Give feedback.
All reactions