vue-full-calendar not working refetch-events
I am using below method defined in package website.
refreshEvents() {
this.$refs.calendar.$emit('refetch-events')
},
}
Can you post the full component?
@HUZOORBUX - Change @onchange to @change
@change="refreshEvents()"
You also have the ref calendar assigned to two separate components...that may or may not cause an issue as well
@REALRANDYALLEN - its calling that function now properly but not refetching events
@HUZOORBUX - Based on the documentation I don't think it's going to work how you expect unless you specify an event-sources
<full-calendar ref="calendar" :event-sources="eventSources"></full-calendar>
refetch-events() - Makes another JSON call to event sources
Check out the 'Using a JSON Feed' section
https://www.npmjs.com/package/vue-full-calendar
Please or to participate in this conversation.