Open dsanthosh2022 opened 1 year ago
Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me
I'm having some issues with the context menu item, using the sample code:
It returns undefined and I cannot get the value (I'm using Angular V.15)
Describe the bug
We are using the angular-calender (angular-calendar": "^0.28.24) in Angular -10 for scheduling functionality.
We have a context menu, when I click the option in the Add Schedule option will display as shown below
Code:
<ng-template *ngIf="name=='schedule'" contextMenuItem (execute)="addEvent($event,$event.item)"> Add Schedule </ng-template>
Here, $event.item will give the cell information of where I did right-click and click the Add Schedule
Everything is working fine in Angular 10 as expected. Now, we are upgrading the entire project to angular 14. Here, we are using angular-calendar": "^0.30.1. Here , $event.item returns undefined. Can you please help me on this one?
Minimal reproduction of the problem with instructions
https://mattlewis92.github.io/angular-calendar/#/context-menu
Screenshots
From https://mattlewis92.github.io/angular-calendar/#/context-menu, the $event.item is missing.
Versions
@angular/core
:^14.2.1angular-calendar
: ^0.30.1