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

Setting Default year breaks the year selector #73

Open
uevandalla opened this issue Jul 20, 2023 · 0 comments
Open

Setting Default year breaks the year selector #73

uevandalla opened this issue Jul 20, 2023 · 0 comments

Comments

@uevandalla
Copy link

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

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

1 participant