Skip to content

Commit

Permalink
Merge pull request #2417 from marmelab/fix-radiobuttongroupinput-requ…
Browse files Browse the repository at this point in the history
…ired-label

[RFR] Fix double asterix on required RadioButtonGroupInput
  • Loading branch information
Gildas Garcia authored Oct 11, 2018
2 parents d12979d + ec197c5 commit c27a25c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/ra-ui-materialui/src/input/RadioButtonGroupInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,11 @@ export class RadioButtonGroupInput extends Component {
return (
<FormControl
component="fieldset"
required={isRequired}
className={className}
margin="normal"
{...sanitizeRestProps(rest)}
>
<InputLabel
component="legend"
shrink
required={isRequired}
className={classes.label}
>
<InputLabel component="legend" shrink className={classes.label}>
<FieldTitle
label={label}
source={source}
Expand Down

0 comments on commit c27a25c

Please sign in to comment.