Skip to content

Commit fff1977

Browse files
authored
fix: node toggle propagation for nested nodes (#2992)
1 parent 2921d1f commit fff1977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/treeview/tree-node.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ import { EventOnNode, Node } from "./tree-node.types";
110110
*ngFor="let childNode of children"
111111
[node]="childNode"
112112
[depth]="depth + 1"
113-
[disabled]="disabled">
113+
[disabled]="disabled"
114+
(nodetoggle)="nodetoggle.emit($event)">
114115
</cds-tree-node>
115116
</ng-template>
116117
</div>

0 commit comments

Comments
 (0)