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

selecting parent node does not select children with hasChildren true #940

Open
sutej-pal opened this issue Apr 13, 2022 · 1 comment
Open

Comments

@sutej-pal
Copy link

I am using v7.2.0 with angular 5.

HTML
<tree-root #treeRoot [nodes]="nodesOfSites" [options]="options"></tree-root>
TS
nodesOfSites = []; options: any = { useCheckbox: true, getChildren: (node: TreeNode) => this.getChildren(node) };
When I select the parent node, it does not select all child nodes. All the child nodes with hasChildren: false get selected but child nodes with hasChildren: true does not get selected.

@ThomasThelen
Copy link

Just as a data point, I'm using @circlon/angular-tree-component 11.0.4 with Angular 13.3.3 and it seems to be working for me

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

2 participants