Reputation: 1
We have downloaded the free version of fullCalendar and uploaded as a static resource in the salesforce Org. While implementing drag and drop functionality, we are facing some issue - getting
"Cannot read properties of undefined (reading 'largeUnit')"
error in the Salesforce .
dragScroll: true,
droppable: true,
eventDrop: function(event, delta, revertFunc) {
console.log("event drop+", event.Id);
if (!confirm("Are you sure about this change?")) {
revertFunc();
} else {
var eventid = event.id;
var eventdate = event.start.format();
self.editEvent(component, eventid, eventdate);
console.log("eventid+", eventid);
console.log("eventdate+", eventdate);
}
}
Can you please help me, how to resolve this issue?
Upvotes: 0
Views: 30