dougludlow / ng2-bs3-modal

Angular Bootstrap 3 Modal Component
http://dougludlow.github.io/ng2-bs3-modal/
ISC License
261 stars 133 forks source link

Cannot read property 'open' of undefined ? #233

Open Ukmandal opened 6 years ago

Ukmandal commented 6 years ago

CustomerListComponent.html:68 ERROR TypeError: Cannot read property 'open' of undefined at CustomerListComponent.openConfirmationDelete (customer-list.component.ts?add6:43) at Object.eval [as handleEvent] (CustomerListComponent.html:68) at handleEvent (core.js?593e:13581) at callWithDebugContext (core.js?593e:15090) at Object.debugHandleEvent [as handleEvent] (core.js?593e:14677) at dispatchEvent (core.js?593e:9990) at eval (core.js?593e:10611) at HTMLButtonElement.eval (platform-browser.js?384d:2628) at ZoneDelegate.invokeTask (zone.js?6524:425) at Object.onInvokeTask (core.js?593e:4744) at ZoneDelegate.invokeTask (zone.js?6524:424) at Zone.runTask (zone.js?6524:192) at ZoneTask.invokeTask [as invoke] (zone.js?6524:499) at invokeTask (zone.js?6524:1540) at HTMLButtonElement.globalZoneAwareCallback (zone.js?6524:1566)

I am not getting this error ? please help.

wartab commented 6 years ago

Error message seems self-explanatory. Why don't you give us the obvious tools to try and help you, such as... the code?

Ukmandal commented 6 years ago

Thankx fro suppot but i got the solution.