Selection Control text should gray out if the disabled flag is turned on for <FormControl>
Selection Control text remains black even if disabled flag is turned on. The text color is just too dark for disabled state
In my project, I have several disabled controls. Ideally I want them to appear grayish when disabled.
| Tech | Version |
|--------------|---------|
| Material-UI | beta.38 |
| React | 16.2.0 |
| browser | |
| etc | |
FormControl has CSS API property for disabled state: https://material-ui-next.com/api/form-control-label/
Unfortunately any color assigned there will be overwritten by the typography class that gets assigned to the label span.
Material spec does not say anything about the disabled label color: https://material.io/components/web/catalog/input-controls/radio-buttons/
After taking a closer look, it seems like the component is originally intended to function like @franklixuefei described. Working on a fix.
@vkentta Thank you!
@franklixuefei happy to help :smile:
Most helpful comment
After taking a closer look, it seems like the component is originally intended to function like @franklixuefei described. Working on a fix.