-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select all tree when parent is selected. #73
Comments
After the independent node selection feature, this becomes rather important. Although, how would you include this in the UI? |
@massiws and @dotgourav, I can implement the next behavior: I will show all nodes which have a check icon. So if we click England -> England, London, Chelsea, West End, Brighton. |
Thank you @dipson88! Thinking
The Hope this make sense. |
@dipson88 any updates? |
@massiws, sorry no updates. Your request make sense, but I faced problems, the code became more hard-readable. The problem is related to the input/list communication: when selected 3 nodes (1 parent and 2 children), I unselect the child, but my algorithm checked that parent was still selected, and he runs through the list and checked all children and set partial checked or checked for his parents. |
In the default props config, when selecting the parent item ONLY parent is selected:
Version 0.9.0 allow nodes to be selected independently, but this require to click each node, hard work if there are many children.
It would be very useful having an option (something like
allTree
) to allow add parent AND all its children when the parent is selected.Thank you.
The text was updated successfully, but these errors were encountered: