mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-29 18:31:26 +02:00
actually always run fully controlled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
537bd3700d
commit
c1b591dfa2
@ -48,7 +48,7 @@ module.exports = createReactClass({
|
||||
if (this.props.group && !checked) return;
|
||||
|
||||
if (!this.props.manualSave) this.save(checked);
|
||||
else this.setState({ value: checked });
|
||||
this.setState({ value: checked });
|
||||
if (this.props.onChange) this.props.onChange(checked);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user