react-checkbox-tree icon indicating copy to clipboard operation
react-checkbox-tree copied to clipboard

Inconsistent behaviour of parent checkbox when some child nodes are disabled

Open Ploppz opened this issue 5 years ago • 0 comments

If I have a tree like this and one node (b1) is disabled: 35 Tuesday-slop3483 Then if I press the checkbox of p or e, nothing happens. If there are no disabled nodes, clicking any checkbox will always have some effect. Thus I argue that the behaviour I see is inconsistent. I expect that when I click p or e checkbox, it will toggle between selecting all children and unselecting all children (excluding the disabled node of course).

Ploppz avatar Sep 01 '20 15:09 Ploppz