Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: days[0] is undefined #1501

Open
ceigh opened this issue Sep 11, 2024 · 4 comments
Open

Uncaught TypeError: days[0] is undefined #1501

ceigh opened this issue Sep 11, 2024 · 4 comments

Comments

@ceigh
Copy link

ceigh commented Sep 11, 2024

TypeError when selecting date with default slot.

https://stackblitz.com/edit/v-calendar-type-error

  • Open console
  • Click on "toggle"
  • Select date

Looks like it's related to [email protected] #1498

@matamune94
Copy link

Is this plugin still updated?

@abarke
Copy link

abarke commented Sep 26, 2024

Duplicate of #1498
Relates to nuxt/ui#2208

@vdariel
Copy link

vdariel commented Oct 14, 2024

You only need to replace this four lines in src/utils/date/range.ts by line 184

if (!days.length) {
    return result;
}
const startDayIndex = days[0].dayIndex;

@kurt-grung
Copy link

Same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants