Skip to content

Setting Default year breaks the year selector #73

@uevandalla

Description

@uevandalla

I've added this as my element in my application:

                    <MonthPicker
                        @change="showDate"
                        date-format="%n %Y"
                        :show-current="true"
                        :show-year="true"
                        :default-month="month"
                        :default-year="year"
                        :min-date="getDate()"
                    >
                    </MonthPicker>

This is the result:
image

Note: if the year is hard coded to a number it doesn't break however if using a variable of any kind this is the result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions