Closed erijin closed 7 years ago
list formatter + dynamic source is failing in angular project generated using cli http://plnkr.co/edit/phruJFbkCy54kXnSgTEb?p=preview
above example working fine in plunkr and throwing exception in project generated using angular-cli
Error Summay
ERROR TypeError: Cannot read property 'bypassSecurityTrustHtml' of undefined at NguiAutoComplete.webpackJsonp.../../../../../src/app/app.component.ts.AppComponent.autocompleListFormatter [as listFormatter] (app.component.ts:32) at NguiAutoComplete.webpackJsonp.../../../../@ngui/auto-complete/dist/auto-complete.js.NguiAutoComplete.getFormattedListItem (auto-complete.js:26) at Object.eval [as updateRenderer] (NguiAutoCompleteComponent.html:27)
above example working fine in plunkr and throwing exception in project generated using angular-cli
Error Summay
ERROR TypeError: Cannot read property 'bypassSecurityTrustHtml' of undefined at NguiAutoComplete.webpackJsonp.../../../../../src/app/app.component.ts.AppComponent.autocompleListFormatter [as listFormatter] (app.component.ts:32) at NguiAutoComplete.webpackJsonp.../../../../@ngui/auto-complete/dist/auto-complete.js.NguiAutoComplete.getFormattedListItem (auto-complete.js:26) at Object.eval [as updateRenderer] (NguiAutoCompleteComponent.html:27)