Hello,
I´m trying to use template in angular treeview following the next demo: https://ej2.syncfusion.com/angular/documentation/treeview/template .
The issue is that for the moment that render the treeview without template it renders ok but when I add <ng-template nodeTemplate="" let-data="">... the chrome console throws the next lines:
ERROR TypeError: str.replace is not a function
at evalExp (vendor.js:108640)
at compile (vendor.js:108625)
at Object.push../node_modules/@syncfusion/ej2-angular-navigations/node_modules/@syncfusion/ej2-base/src/template-engine.js.Engine.compile (vendor.js:108554)
at compile (vendor.js:108513)
at TreeViewComponent.push../node_modules/@syncfusion/ej2-angular-navigations/node_modules/@syncfusion/ej2-navigations/src/treeview/treeview.js.TreeView.templateComplier (vendor.js:139371)
at TreeViewComponent.push../node_modules/@syncfusion/ej2-angular-navigations/node_modules/@syncfusion/ej2-navigations/src/treeview/treeview.js.TreeView.initialize (vendor.js:139332)
at TreeViewComponent.push../node_modules/@syncfusion/ej2-angular-navigations/node_modules/@syncfusion/ej2-navigations/src/treeview/treeview.js.TreeView.render (vendor.js:139316)
at TreeViewComponent.push../node_modules/@syncfusion/ej2-angular-navigations/node_modules/@syncfusion/ej2-base/src/component.js.Component.appendTo (vendor.js:103183)
at vendor.js:100559
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.js:2766)
Do you have any solution to this issue?