Event Calendar - problem with invalid option

Hello,
What I would like to achieve is to retrieve invalid dates from backend.

While I managed to partialy do this, I noticed, that invalid option causes the problem. When I change the months by arrows and I reach to May 2020, it forces me to go from 1 May to 30 May and I can’t go into June. I downloaded sample code and set static array (invalid: [‘w1’,‘w2’]) to make sure.

core.js:15724 ERROR TypeError: t.load is not a function
at e (mobiscroll.angular.min.js:5)
at Ge (mobiscroll.angular.min.js:5)
at mobiscroll.angular.min.js:5
at T (mobiscroll.angular.min.js:2)
at ZoneDelegate.push…/node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:17290)
at ZoneDelegate.push…/node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at Zone.push…/node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at push…/node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:498)
at ZoneTask.invoke (zone.js:487)

I hope to look forward from you soon,
Adam

Hi Adam,

I was able to reproduce the problem, we’re fixing this in our upcoming release shortly.

Thanks for the report!

1 Like

Hi @Adam_Zabrocki :wave:

Sorry for the delay!
This issue was fixed in 4.8.0 version, more information here: Release notes and release history for Mobiscroll.