angular-tree-control icon indicating copy to clipboard operation
angular-tree-control copied to clipboard

Set selecteNode to null break the tree

Open cgarnier opened this issue 9 years ago • 4 comments

Hello, When a put selectedNode to null i have an issue.

cgarnier avatar Oct 16 '15 14:10 cgarnier

that's strange. In the example (http://wix.github.io/angular-tree-control/#selected) it works. Have you tried using undefined instead of null?

yoavaa avatar Oct 18 '15 06:10 yoavaa

yes, undefined works.

cgarnier avatar Oct 18 '15 07:10 cgarnier

I have a lot of error when i try to put something not in the tree in the expandedNodes. I know that what is in this array should be in the tree :D But it should be great if in this state, module jsut raise an exception.

cgarnier avatar Oct 18 '15 07:10 cgarnier

Same as here (#194) where you can find the fix.

Ajrarn avatar Mar 04 '16 22:03 Ajrarn