jakezatecky/react-checkbox-tree

Handling for having a single node in multiple separate branches of the same tree.

Olimarrex opened this issue · 0 comments

Hi, are there any plans in the future to allow multiple nodes with the same value in different branches of the same tree?
Ideally checking that a node from any branch would result in it being considered checked in all parts of the branch where it exists.
It would then also need to handle the checked state of parents for all of the node's parent branches.

I do not know if it would have to be referentially the exact same object or if it would be able to support different options (i.e. one node has multiple children. Another with the same value has none.)

For my use-case specifically I'm only interested in leaf nodes being duplicatable.