Skip to content

Provide configuration to toggle child nodes pessimistically #15

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Closed
imkevinjones opened this issue Nov 24, 2016 · 0 comments
Closed

Provide configuration to toggle child nodes pessimistically #15

imkevinjones opened this issue Nov 24, 2016 · 0 comments
Milestone

Comments

@imkevinjones
Copy link

Say there is a checkbox tree such as this:
image

Only one child node is checked. By clicking the parent node, the remaining child nodes become checked.

If I want the default behaviour to pessimistically toggle the child nodes, it would be nice to have an optional prop to provide such configuration to the root checkbox tree.

With such a configuration option set, if I have two out of three child nodes checked, and I click the parent node, it should deselect all child nodes of that parent node. This would provide the opposite effect of the current optimistic toggling of child nodes.

@jakezatecky jakezatecky added this to the v0.3.1 milestone Jan 14, 2017
jakezatecky added a commit that referenced this issue Jan 27, 2017
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants