vue-month-picker
vue-month-picker copied to clipboard
Setting Default year breaks the year selector
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:
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