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.
1 parent 1109faf commit 12ddfccCopy full SHA for 12ddfcc
src/js/CheckboxTree.js
@@ -123,6 +123,7 @@ class CheckboxTree extends React.Component {
123
124
toggleChecked(node, isChecked, noCascade) {
125
if (node.children === null || noCascade) {
126
+ if (node.disabled) return;
127
// Set the check status of a leaf node or an uncoupled parent
128
this.toggleNode('checked', node, isChecked);
129
} else {
0 commit comments