-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Description
When adding nested elements to a RadioButtonGroup, an additional RadioButton is being rendered. Also the nested element is not being rendered.
In the following example I'm trying to seperate the radiobuttons into two rows for styling purposes. Before each closing div an additional and unlabeled RadioButton is being rendered. Also the .row div is being rendered, but without the class. Instead the classes "mui-radio-button" and "mui-enhanced-switch" are being added.
<RadioButtonGroup name="timepicker">
<div className="row">
<RadioButton value="1" label="10 minutes" />
<RadioButton value="2" label="30 minutes" />
<RadioButton value="3" label="1 hour" />
<RadioButton value="4" label="2 hours" />
<RadioButton value="5" label="4 hours" />
<RadioButton value="6" label="8 hours" />
<RadioButton value="7" label="12 hours" />
<RadioButton value="8" label="24 hours" />
</div>
<div className="row">
<RadioButton value="9" label="2 days" />
<RadioButton value="10" label="3 days" />
<RadioButton value="11" label="5 days" />
<RadioButton value="12" label="1 week" />
<RadioButton value="13" label="2 weeks" />
<RadioButton value="14" label="1 month" />
<RadioButton value="15" label="2 months" />
</div>
</RadioButtonGroup>
Metadata
Metadata
Assignees
Labels
type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.