[Bug Report] [2.0.0] [VCalendar] Event slot doesn't work if initial events array is empty
See original GitHub issueVersions and Environment
Vuetify: 2.0.0-beta.7 Vue: 2.6.10 Browsers: Chrome 75.0.3770.100 OS: Linux x86_64
Steps to reproduce
- Setup a custom event scoped slot (
<template v-slot:event="event">
) - Pass an empty
events
array to the<v-calendar>
component - Add an element to the events array
Expected Behavior
The event should display on the calendar, containing the scoped slot layout
Actual Behavior
The event, or any event added, doesn’t display
Reproduction Link
https://codepen.io/anon/pen/pXGPzw
Other comments
Note that it works if you don’t define a custom event slot-scope template, or if there is at least one element in the initial events array when the V-Calendar component is mounted.
Also, please note that the “event” slot isn’t in the documentation, I figured it from the code.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Remove an event category from a single event? - Stack Overflow
I'm marking this as answered, as "empty array" is the "clear the categories" syntax (the Outlook caching is to blame for my initial...
Read more >Bug listing with status RESOLVED with resolution WONTFIX ...
Bug :535 - "pdb - package lookup with online manifests [files that packges provide]" status:RESOLVED resolution:WONTFIX severity:enhancement ...
Read more >Chapter 6 WCAP Commands
If double booking is not allowed in this calendar, storeevents or storetodos will fail with this error when attempting to store an event/todo...
Read more >Release notes-11.4.3-u1 - Scalix
This document includes late-breaking information about product capabilities, known issues and workarounds. Please read this document thoroughly before beginning ...
Read more >Untitled
Tiina puranen omary, Opengl gluniform array, Switch administrable 48 puertos, Matt fontana 83, Aide de la caf pour partir en vacances, Begin again...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ClickerMonkey - This took me an hour to debug, and was utterly baffling until I found this ticket.
I would recommend re-opening this ticket since this seems to have caught quite a few number of people unaware.
@ClickerMonkey Not sure why this is closed as I’m also having trouble with this issue now, is there some way to “correctly” implement the event slot?
The Vuetify docs do not seem to specify how to make use of the event slot and in the API explorer, the event slot is not shown under the “slots” tab for the calendar either, any specific reason for this?