actually always run fully controlled

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-10-09 22:33:14 +01:00
parent 2b9c102f07
commit 685c2f494a
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module.exports = createReactClass({
if (this.props.group && !checked) return; if (this.props.group && !checked) return;
if (!this.props.manualSave) this.save(checked); if (!this.props.manualSave) this.save(checked);
else this.setState({ value: checked }); this.setState({ value: checked });
if (this.props.onChange) this.props.onChange(checked); if (this.props.onChange) this.props.onChange(checked);
}, },