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 96ac861 + 64df8c7 commit a712953Copy full SHA for a712953
src/js/CheckboxTree.js
@@ -173,6 +173,7 @@ class CheckboxTree extends React.Component {
173
const flatNode = this.flatNodes[node.value];
174
175
if (flatNode.isLeaf || noCascade) {
176
+ if (node.disabled) return;
177
// Set the check status of a leaf node or an uncoupled parent
178
this.toggleNode(node.value, 'checked', isChecked);
179
} else {
0 commit comments