mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 17:41:43 -05:00
Fix onChange function on MuiSwitch component
This commit is contained in:
parent
66fd1aedaf
commit
c23c6e0d4c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ const MuiSwitch = createReactClass({
|
||||||
const value = target.checked;
|
const value = target.checked;
|
||||||
|
|
||||||
//this.setValue(value);
|
//this.setValue(value);
|
||||||
this.props.onChange(this.props.name, value);
|
this.props.onChange(value);
|
||||||
|
|
||||||
setTimeout(() => {document.activeElement.blur();});
|
setTimeout(() => {document.activeElement.blur();});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue