react-checkbox-tree
react-checkbox-tree copied to clipboard
Support useTopNode option
Wrote this because I wanted to do something that looks like GitHub token creator.
It does what was mentioned in #13, particularly the 2nd model:
- Record upper-most nodes in
checked
. Here, we care about top-most checked nodes; the component needs to be intelligent enough to only record nodes that do not have a parent node checked. This is the model you are suggesting.
What is the status on this? Can it be merged/released?
Any news?
The owner of this repository added the PR to the 1.6.0 milestone however no one is actively merging the code. I would advise anyone that wants to use this 'mode' now to use the fork I created. There is no clear documentation on usage but you could just add the useTopNode={true}
parameter in the component and see the output.