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
I have an issue, when i am trying to add new inputs to the Event. I am adding the template calendarAppEventDialog to the ds-calendar-app and inside the dialog.
To my EventPopover I passed :edit="editEvent" function which i have written in the App.vue.
In my EventPopover component I modified @click="edit" part to @click="edit(calendarEvent)" which is the prop and in the App.vue editEvent got the ev parameter and it looks like this:
let calendarEvent = ev;
let eventDialog = this.$refs.eventDialog;
eventDialog.edit(calendarEvent);
Is this a good method or is there an easier/better solution?
Hi again! :)
I have an issue, when i am trying to add new inputs to the Event. I am adding the template calendarAppEventDialog to the ds-calendar-app and inside the dialog.
<template slot="calendarAppEventDialog" slot-scope="{$scopedSlots, $listeners, calendar, eventFinish}"> <ds-event-dialog ref="eventDialog" v-bind="{$scopedSlots}" v-on="$listeners" :calendar="calendar" @saved="eventFinish" @actioned="eventFinish" ></ds-event-dialog> </template>
But if I want to edit an existing event, it throws an error with an edit function:
`Error in event handler for "edit": "TypeError: Cannot read property 'edit' of undefined"
found in
---> DsCalendarEventTime
DsDayTimes
DsDaysView
DsCalendar
DsGestures
VContent
DsCalendarApp
VApp
App> at src/App.vue
Root`
Did I miss something?
P.S.:
Create is working perfectly with passed functions.
The text was updated successfully, but these errors were encountered: