hanafnafs / angular-hijri-gregorian-datepicker

Robust and tested code angular hijri/gregorian calendar/datepicker component for Angular 10 - 16, 17+ projects. Ionic 3 - 4, 5, 6 + is supported, can be used in iOS and Android. Star it to inspire us to build the best component!
https://hanafnafs.github.io/angular-hijri-gregorian-datepicker/
9 stars 1 forks source link

Click on empty location fire error #3

Open jkelany opened 1 week ago

jkelany commented 1 week ago

Click on empty location on the calendar grid image

It will throw error:

Cannot read properties of undefined (reading 'gD') TypeError: Cannot read properties of undefined (reading 'gD')
    at Ee.onDayClicked (angular-hijri-gregorian-datepicker.mjs:27829:17)
    at angular-hijri-gregorian-datepicker.mjs:27923:4903
    at Y9 (core.mjs:26657:16)
    at s (core.mjs:26691:22)
    at HTMLDivElement.<anonymous> (platform-browser.mjs:675:19)
    at I.invokeTask (zone.js:402:31)
    at Object.onInvokeTask (core.mjs:7228:33)
    at I.invokeTask (zone.js:401:60)
    at oe.runTask (zone.js:173:47)
    at j.invokeTask [as invoke] (zone.js:483:34)
hanafnafs commented 1 week ago

@jkelany Thank you for reporting the issue, will be fixed in the next release this weekend!