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

Check/uncheck parent node and make disabled children follow the parent checked state

Open fregayeg opened this issue 5 years ago • 3 comments

Hello, Im facing an annoying issue here :'( , I want to make children disabled, but follow the parent node state at the same time, but Im finding myself unable to change the parent state if I make the children disabled. see the image below. Please help and thanks in advance

issue_checkboxtree

fregayeg avatar May 22 '20 20:05 fregayeg

Hello there. As you have found, a consequence of the disabled feature is that checking nodes will not propagate to those nodes.

I might add a property to allow this, but I am drawing blanks when it comes to a nice name for it. Something like allowIndirectCheckingForDisabled conveys the idea, but it's lengthy and unwieldy.

jakezatecky avatar May 26 '20 23:05 jakezatecky

Thank you for your return @jakezatecky I would wait to see it then. Have a nice day

fregayeg avatar May 27 '20 10:05 fregayeg

+1 this would be great to have as an option

brandonfcohen1 avatar May 23 '22 13:05 brandonfcohen1