The date is highlight correctly but the date picker always show the current month so if i want to show the 15th april in the calendar today ( 30th march )
The calendar will not turn to the correct month
If you set up v-date-picker like this, then April should be displayed in the calendar on initialization, even if the current month is March.
<v-date-picker v-model='date'>
</v-date-picker>
export default {
data() {
return {
date: new Date(2018, 3, 15)
}
}
}
Are you saying it is not showing April?
This works but
When you add :min-page :available-dates and :max-page It doesn't work. When i remove the :max-page it works.
Can you recreate the issue via jsfiddle? You can fork this fiddle to help get you going.
I have same problem too. available dates does not work well with some other props like min-date, max-date etc. I handle from-page manually by calculating first possible date from available dates object.
Ok I'll definitely reinvestigate. If anyone could provide reproduce with an example, that would go a long ways towards helping fix the issue.
My case may not be bug. My problem is when a first available date after current month date-picker opens current month which all dates disabled, instead of first available date's month. I am not sure how it should behave in this case. It is just looks like a bad UX.
example fiddle: https://jsfiddle.net/eywraw8t/49419/
Is there any clue for this behaviour?
I think the solution for now is to set the from-page prop yourself until I can find the time to debug the solution. Perhaps after the new docs site is released.
ty, will play around
Hi, I'm having the same issue, has this been fixed?
from-page
How can I use from-page?
pls provide sample. I new to this technology.
from-page
How can I use from-page?
pls provide sample. I new to this technology.
<v-calendar :rows="3" :columns="4" :from-date="new Date(2020, 0, 1)"></v-calendar>
Closing outstanding issue that should now be resolved.
Most helpful comment
I think the solution for now is to set the
from-pageprop yourself until I can find the time to debug the solution. Perhaps after the new docs site is released.