Skip to content

Commit

Permalink
Scheduler - fix custom dnd Object.asssign error (#3176)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanblinov2k17 authored Mar 18, 2024
1 parent 8162430 commit a39db3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export class AppComponent {
e.cancel = true;
}

onItemDragStart(e: DxSchedulerTypes.AppointmentDraggingStartEvent) {
Object.assign(e.itemData, e.fromData);
onItemDragStart(e) {
e.itemData = e.fromData;
}

onItemDragEnd(e: DxSchedulerTypes.AppointmentDraggingEndEvent) {
Expand Down

0 comments on commit a39db3c

Please sign in to comment.