Skip to content

[material-ui][Radio Group] Classnames on the API page are incorrect #41076

@ashleylovespizza

Description

@ashleylovespizza

Related page

https://mui.com/material-ui/api/radio-group/#classes

Kind of issue

Other

Issue description

Incorrect naming of CSS Classes on RadioGroup API page:

No matter how I try (and even on your own demo page - https://mui.com/material-ui/react-radio-button/ ) the RadioGroup component does NOT have the class .MuiRadioGroup-root applied to the root. Rather it has .MuiFormGroup-root. same for theme targeting via component - it's not MuiRadioGroup, it's MuiFormGroup. Please update or add further explanation.

The same thing is true for the other class listed if the row prop is true - .MuiRadioGroup-row does not ever show up; it's .MuiFormGroup-row

Context

Please update the "CSS classes" area of this documentation page for RadioGroup to be correct (for obvious reasons).

Search keywords: MuiRadioGroup-root, MuiRadioGroup, MuiFormGroup

Metadata

Metadata

Assignees

Labels

scope: radioChanges related to the radio.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions