fix boolean widget styles

This commit is contained in:
Shawn Erquhart 2018-07-24 17:14:57 -04:00
parent 6be3c7a839
commit 0e61613295

View File

@ -21,7 +21,7 @@ export default class BooleanControl extends React.Component {
setInactiveStyle
} = this.props;
return (
<div>
<div className={classNameWrapper}>
<Toggle
id={forID}
active={isBoolean(value) ? value : field.get('defaultValue', false)}