We have an angular app with syncfusion grids throughout the pages. If I move off a page that has a syncfusion grid control this error appears in the console. The grid works as expected. There is no error when loading the page or using the page. The error only occurs when leaving the page.
"@syncfusion/ej2-angular-grids": "^20.4.51",
ERROR TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Base.callChildDataBind (ej2-base.es5.js:5218:27)
at Base.dataBind (ej2-base.es5.js:5246:14)
at Component.dataBind (ej2-base.es5.js:7252:35)
at timer (zone.js:2405:41)
at _ZoneDelegate.invokeTask (zone.js:406:31)
at Object.onInvokeTask (core.mjs:26510:33)
at _ZoneDelegate.invokeTask (zone.js:405:60)
at Zone.runTask (zone.js:178:47)
at invokeTask (zone.js:487:34)
What should I do to make sure this no longer occurs?