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

How to decople parent checkboxes Except children checkboxes #330

Open
yukwar opened this issue Nov 11, 2022 · 0 comments
Open

How to decople parent checkboxes Except children checkboxes #330

yukwar opened this issue Nov 11, 2022 · 0 comments

Comments

@yukwar
Copy link

yukwar commented Nov 11, 2022

Lets say I have this tree:

  1. Parent 1
    1.1) Children 1
    1.2) Children 2
    1.2.1) Children 1
    1.2.1.1) Children 1
    1.2.1.2) Children 2
    1.2.2) Children 2

The option decoupleChildFromParent = true will set all checkboxes as independents, I need another option that the child that has childrens only decoples from its parent but keeps coupled with his childrens when the user checks it.

  1. Parent 1
    1.1) Children 1
    1.2) Children 2
    1.2.1) Children 1 X <----- The user checks this one
    1.2.1.1) Children 1 X
    1.2.1.2) Children 2 X
    1.2.2) Children 2

Right now the parents of 1.2.1 are getting checked visualy

What i need is:
The childs of 1.2.1 will be checked and the parents will not have the state as intermediate or checked.

Do we have a workaround for this scenario?

@yukwar yukwar changed the title How to decople parent checkboxes by not children checkboxes How to decople parent checkboxes Except children checkboxes Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant