ngx-treeview icon indicating copy to clipboard operation
ngx-treeview copied to clipboard

The selected items are empty when decoupleChildFromParent = true and a parent is selected

Open rostamiani opened this issue 5 years ago • 3 comments

The value of selected items is empty when a parent node is selected. When the parent is decoupled, it should be independent in any way. For example in this page if you selech 'Children' or 'IT' the title of dropdown does not change

rostamiani avatar Jun 15 '19 09:06 rostamiani

I have the same issue also. When I select a parent Item, it doesn't get added to selected items

EDIT:

This problem can be solved by traversing all nodes in items property, and manually check if any item is checked. But it would be nice if it was also included in selected items and input argument of treeSelectedChange

vbearn avatar Jun 17 '19 08:06 vbearn

I have the same issue also. Parent value doesn't get while selecting parent. only get child value.

TejasRadical avatar Oct 04 '19 06:10 TejasRadical

Hello guys, i found this solution, it maybe help you, it helped me : Not able to get Parent node value

sohaieb avatar Feb 16 '21 14:02 sohaieb