Skip to content

[UCalendar] Setting first displayed month #5253

@entinio

Description

@entinio

Package

v3.x

Description

I display a calendar with some months (12 in my case) from current month and without the months and years controls. The date is already set by v-model ahead by 4 months (ex: in-february date instead of current october).

When I open the calendar, the range displayed is february 2026 => january 2027 instead of starting from current month. It's using the v-model value to decide on the starting month.

Is there any way to add a feature setting the initial month with a props? I tried setting initialFocus to false and/or defaultValue to current day, but it didn't help.

Thank you

Additional context

Nuxt/UI 3.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAwaiting initial review and prioritizationv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions