Closed EugenGedroyc closed 4 months ago
Or just call the 'prev' event on the arrow-button after opening Multi-calendar?
Thanks to @EugenGedroyc for this issue. Infact, right now I was surfing through the documentation to check if there was any other way to get this done.
to check if there was any other way to get this done.
I even asked various LLMs and "the best answer" was:
:start-date="new Date(new Date().setMonth(new Date().getMonth() - 1))"
But not work for me.
to check if there was any other way to get this done.
I even asked various LLMs and "the best answer" was:
:start-date="new Date(new Date().setMonth(new Date().getMonth() - 1))"
But not work for me.
Me too 🤣
Hello @EugenGedroyc @decoded-cipher , not sure why
I even asked various LLMs and "the best answer" was:
:start-date="new Date(new Date().setMonth(new Date().getMonth() - 1))"
But not work for me.
didn't work, however, here is the playground example that achieves what you are trying to do.
@Jasenkoo thanks for the good example, but with range doesn't work
@EugenGedroyc This is because you are providing a v-model
which is not empty, to force the start date you need focus-start-date prop enabled
:start-date="new Date(new Date().setMonth(new Date().getMonth() - 1))"
But not work for me.
Works with focus-start-date Turns out that's the only property missing in my case. @Jasenkoo thank you very much!
Mine too... Thanks @EugenGedroyc
Is your feature request related to a problem? Please describe. I need to select days in the previous month in multi-calendar, because it has no any data after the current day. Therefore next month is disable always.![image](https://github.com/Vuepic/vue-datepicker/assets/15181141/e44f71d3-d4f8-4fcd-99e9-ea61cd548aa3)
Describe the solution you'd like Add prop that shifts the months in the multi-calendar:![image](https://github.com/Vuepic/vue-datepicker/assets/15181141/213ef9dd-d443-48eb-b8ba-3972841f76d2)