question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] [2.0.0] [VCalendar] Event slot doesn't work if initial events array is empty

See original GitHub issue

Versions 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

  1. Setup a custom event scoped slot (<template v-slot:event="event">)
  2. Pass an empty events array to the <v-calendar> component
  3. 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:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
phayescommented, Jan 23, 2020

@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.

9reactions
riaanduplessiscommented, Sep 13, 2019

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found