Radio Group Default Value #1082
Replies: 2 comments 3 replies
-
Hey! Thank you for your question! The The |
Beta Was this translation helpful? Give feedback.
-
One more question - Any idea if we can capture the value of the selected Radio Option for the event? i.e. I have an Option A and Option B. When a user selects Option B would like to return the Option B selection to a helper function. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, just came across Headless UI after working with Tailwind CSS.
Just wondering if the Radio Group element has a Default Value tag which I can pass in the props on page load? I have tried both defaultChecked and defaultValue in RadioGroup tag with no avail yet.
I saw the availability of defaultIndex option for Tab.Group but have search throughout and could not find such option for RadioGroup element.
Hope someone can assist in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions