mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
[explore] checkbox control won't uncheck (#3454)
This commit is contained in:
committed by
GitHub
parent
1f135e41cd
commit
fe77534c03
@@ -19,8 +19,8 @@ const defaultProps = {
|
||||
const checkboxStyle = { paddingRight: '5px' };
|
||||
|
||||
export default class CheckboxControl extends React.Component {
|
||||
onChange(checked) {
|
||||
this.props.onChange(checked);
|
||||
onChange() {
|
||||
this.props.onChange(!this.props.value);
|
||||
}
|
||||
render() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user