ng-devui
ng-devui copied to clipboard
Ng0100 error when use d-operable-tree
Describe the bug DevUI d-operable-tree addNode cause NG0100 error in development mode
to suppress it, I need to:
- add
private cd: ChangeDetectorRefto my component class - call this.cd.detectChanges() every time when I updating TreeNode
perhaps you can add this function to treeFactory
this.operableTree.treeFactory.addNode(val)
this.cd.detectChanges()
environments (please complete the following information):
- Browser latest-chrome
- component version 12
- angular framework version12