Skip to content

Commit

Permalink
Merge pull request #2341 from prisis/patch-1
Browse files Browse the repository at this point in the history
Added missing error to bool on renderBooleanField
  • Loading branch information
mbrn authored Aug 23, 2020
2 parents 2384f5a + cea821f commit 4f4b5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/m-table-edit-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MTableEditField extends React.Component {
const { helperText, error, ...props } = this.getProps();

return (
<FormControl error={error} component="fieldset">
<FormControl error={Boolean(error)} component="fieldset">
<FormGroup>
<FormControlLabel
label=""
Expand Down

0 comments on commit 4f4b5a7

Please sign in to comment.