Thanks for getting back quickly!
I’ve only just discovered that I was receiving that error because in my implementation, I did not have the closing
</q-calendar> tag. I know, a rookie mistake!
Apparently this is a Vue issue. See solution here using
Apologies if I am doing something wrong but I can’t seem to figure this one out.
I am simply trying to delete an event from my calendar. However the calendar doesn’t render the update until something like the selected date changes.
See codepen here (https://codepen.io/kelso_xd/pen/GRpraMq)
Notice the two delete event functions used. When one is clicked, the event will not disappear until the selected date is changed.
Any advice would be greatly appreciated.
To jump in on the original issue raised by @LM… I am currently trying to add event elements into my QCalendar but am finding it difficult with the documentation currently provided (https://quasarframework.github.io/quasar-ui-qcalendar/examples/month-view#example-Slots-(day)).
My main issue is that when I try to use the code example provided (or any code from the git repo @lucasfernog mentioned) I get a compiling error because I am declaring a template inside another template.
<template v-slot> can only appear at the root level inside the receiving component. Is this code only for demonstrative purposes and we should create components in place of these template tags?
I understand that this might be a silly question as I am only new to v-slots, but any guidance would be appreciated.