We started getting this error in our Angular app. How can we fix this? Have tried several different versions of kendo-angular-dateinputs - 4.4.1, 5.x, 6.0
core.js:6210 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'unsubscribe')TypeError: Cannot read properties of undefined (reading 'unsubscribe')
at CalendarComponent.ngOnDestroy (index.js:3841)
at executeOnDestroys (core.js:7415)
at cleanUpView (core.js:7318)
at destroyViewTree (core.js:7151)
at destroyLView (core.js:7296)
at RootViewRef.destroy (core.js:22642)
at ComponentRef$1.destroy (core.js:25182)
at RouterOutlet.deactivate (router.js:5307)
at ActivateRoutes.deactivateRouteAndOutlet (router.js:2072)
at ActivateRoutes.deactivateRouteAndItsChildren (router.js:2050)
at resolvePromise (zone-evergreen.js:798)
at resolvePromise (zone-evergreen.js:750)
at zone-evergreen.js:860
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:28578)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
at drainMicroTaskQueue (zone-evergreen.js:569)
Hi Mike,
I've noticed that a private support ticket was submitted on this matter. An answer will be provided there:
https://www.telerik.com/account/support-tickets/view-ticket/1551153
Regards,Yanmario
Progress Telerik