Skip to content
Discussion options

You must be logged in to vote

Hi @arodriguezcortes! RadioGroup does not have a matching HTML element, and exists mostly to aid in abstracting away certain difficulties. At the Radio level , however, you can pass the component an onChange that will return the native browser event from the radio input as a direct one to one mapping to its native behavior. If you're using uncontrolled RadioGroup, we suggest giving the Radio components the onChange (as opposed to the RadioGroup). Here's an example in our Storybook (and its implementation).

Let us know if that solution works for you!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arodriguezcortes
Comment options

Answer selected by gloriliale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants