Open
Description
I have a redux form working nicely with material-ui using your redux-form-material-ui 5.0 beta 3 and it is fantastic except for the Checkbox and Radio controls.
Using the code off the website (see below) the Checkbox and Radio buttons do not show their label:
<Grid item xs={12}>
<FormControl component="fieldset" required className={classes.formControl}>
<FormLabel component="legend">Gender</FormLabel>
<Field name="Gender" component={RadioGroup} className={classes.formControl}>
<Radio value="Male" label="Male"/>
<Radio value="Female" label="Female"/>
</Field>
</FormControl>
</Grid>
<Grid item xs={12}>
<FormControl component="fieldset" className={classes.formControl}>
<FormLabel component="legend">Flying Solo?</FormLabel>
<Field
name="Solo"
label="Solo Licence"
component={Checkbox}
className={classes.formControl}
/>
</FormControl>
</Grid>
pakage.json:
"dependencies": {
"@material-ui/core": "^1.2.1",
"@material-ui/icons": "^1.1.0",
"moment": "^2.22.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^4.0.0",
"redux-form": "^7.4.0",
"redux-form-material-ui": "^5.0.0-beta.3",
"typeface-roboto": "^0.0.54"
Metadata
Metadata
Assignees
Labels
No labels