Skip to content
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

noCascade Incorrect Behaviour (or Documentation) #183

Open
thejamespower opened this issue Jan 16, 2020 · 3 comments
Open

noCascade Incorrect Behaviour (or Documentation) #183

thejamespower opened this issue Jan 16, 2020 · 3 comments

Comments

@thejamespower
Copy link

Thanks for your time in creating this lib! :)

According to the docs' for noCascade:

If true, toggling a parent node will not cascade its check state to its children.

This works as expected, however, if you now toggle a child, it does not toggle its parent. If this is the desired behaviour, the docs need to be updated correctly to explain this.

Moreover, for our functional requirements, we need to have this one-way cascade. So when selecting a parent, it does not automatically select a child and when selecting a child it does select all parents in the tree.

Cheers for your help

@jakezatecky
Copy link
Owner

jakezatecky commented Jan 20, 2020

Thanks for pointing this out.

This was an intended result of that property. The docs should be updated to reflect that noCascade is bi-directional.

As far as your use case is concerned, it may be possible to support that in some future release. I will consider the ease of supporting this.

@kinitkit
Copy link

Any updates for this? Thanks.

@jakezatecky jakezatecky modified the milestones: v1.7.0, v1.8.0 Jun 8, 2021
@neerax
Copy link

neerax commented Mar 5, 2024

+1 it would be nice to have separated options for the two behaviours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants