We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b188aa + 2ae3aeb commit 94824f2Copy full SHA for 94824f2
src/js/CheckboxTree.js
@@ -66,14 +66,14 @@ class CheckboxTree extends React.Component {
66
const { noCascade, onCheck } = this.props;
67
68
this.toggleChecked(node, node.checked, noCascade);
69
- onCheck(this.serializeList('checked'));
+ onCheck(this.serializeList('checked'), node);
70
}
71
72
onExpand(node) {
73
const { onExpand } = this.props;
74
75
this.toggleNode('expanded', node, node.expanded);
76
- onExpand(this.serializeList('expanded'));
+ onExpand(this.serializeList('expanded'), node);
77
78
79
getFormattedNodes(nodes) {
0 commit comments