Merge pull request #2249 from weknowinc/fix-muicheckboxgroup-onchange

Re-enable CheckboxGroup component for Material UI
This commit is contained in:
Eric Burel 2019-03-19 08:50:37 +01:00 committed by GitHub
commit ed28293c64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,8 +82,8 @@ const MuiCheckboxGroup = createReactClass({
value.push(option.value);
}
}.bind(this));
//this.setValue(value);
this.props.onChange(this.props.name, value);
this.props.onChange(value);
},
validate: function () {