We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d1e09e commit 3a00b21Copy full SHA for 3a00b21
client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
@@ -845,7 +845,7 @@ let CalendarBasicComp = (function () {
845
updateEventsOnDragOrResize(eventInfo.event);
846
847
if (typeof props.onDropEvent === 'function') {
848
- props.onDropEvent("dropEvent");
+ props.onDropEvent("drop");
849
}
850
}, [props.onDropEvent, updateEventsOnDragOrResize]);
851
@@ -959,6 +959,11 @@ let CalendarBasicComp = (function () {
959
props.onEvent("change");
960
961
}}
962
+ eventDragStart={() => {
963
+ if (typeof props.onDropEvent === 'function') {
964
+ props.onDropEvent("drag");
965
+ }
966
+ }}
967
eventDrop={handleDrop}
968
eventResize={handleResize}
969
/>
0 commit comments