You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I've created a function that return false to the on the event-drag-create so I can freely manipulate the event I want to create but event creation is not canceled so the event I tried to create is rendered.
here is the template part: <VueCal v-bind="planningConfigs" :events="calendarEvents" :on-event-click="onEventClick" @event-drag-create="createEvent" />
My function looks like: const createEvent = (event: Events, e: any) => { emit('changeFormState', true); emit('addEvent', event); return false; }
The text was updated successfully, but these errors were encountered:
Hello. I've created a function that return false to the on the event-drag-create so I can freely manipulate the event I want to create but event creation is not canceled so the event I tried to create is rendered.
here is the template part:
<VueCal v-bind="planningConfigs" :events="calendarEvents" :on-event-click="onEventClick" @event-drag-create="createEvent" />
My function looks like:
const createEvent = (event: Events, e: any) => {
emit('changeFormState', true);
emit('addEvent', event);
return false;
}
The text was updated successfully, but these errors were encountered: