We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disabled
When specifying the disabled prop on RadioGroup, it doesn’t have any effect on the underlying Radio children, nor the wrapper element itself.
RadioGroup
Radio
The inline JSDoc isn’t clear enough about the disabled prop of RadioGroup, as it turns out focusable shall be set for the former to have an effect.
focusable
The disabled prop of a RadioGroup should possibly disable all the Radio components within, either:
fieldset
Use a render prop as follows:
render
<RadioGroup render={(props) => <fieldset disabled={disabled} {...props} />}> {children} </RadioGroup>
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behavior
When specifying the
disabled
prop onRadioGroup
, it doesn’t have any effect on the underlyingRadio
children, nor the wrapper element itself.Steps to reproduce the bug
disabled
having no effect on the DOM subtreeRadioGroup
rendersThe inline JSDoc isn’t clear enough about the
disabled
prop ofRadioGroup
, as it turns outfocusable
shall be set for the former to have an effect.Expected behavior
The
disabled
prop of aRadioGroup
should possibly disable all theRadio
components within, either:RadioGroup
afieldset
by default and applying thedisabled
prop on itWorkaround
Use a
render
prop as follows:Possible solutions
No response
The text was updated successfully, but these errors were encountered: