Support for using radio inputs without radio group #1344
Labels
component: radio group
This is the name of the generic UI component, not the React module!
component: radio
This is the name of the generic UI component, not the React module!
Feature Request
Summary
The radio input should work without needing to be wrapped in the
RadioGroup
component. This would align its behavior with how radio inputs work in vanilla HTML/JS.Examples in Other Libraries
Vanilla HTML/JS behavior.
Motivation
There are use cases where more complex inputs or forms cannot have radio inputs nested inside a
RadioGroup
. For example, the current scenario involves an editable table with rows containing multiple number/text inputs and one radio input per row. Unless the entire table is wrapped in aRadioGroup
, the radio inputs will not function as expected. Wrapping the entire table is highly unsemantic, whereas vanilla radio inputs work without any special wrapping, as they are naturally grouped by thename
attribute.Simple diagram of the mentioned component:
The text was updated successfully, but these errors were encountered: