On mobile, it would be great to have a vertical scrolling calendar, similar to the Calendar app on iOS/Android. I want to add months as I scroll down to the bottom. I've tried many approaches to get this to work, but I consistently encounter issues when dynamically changing the count of MultiCalendarsOptions.
As you can see on the Stackblitz, each added month is displayed as "January 0".
Describe the solution you'd like
The solution would be to allow changing the count of MultiCalendarsOptions.
Describe alternatives you've considered
I found that calling datepickerRef.value.setMonthYear({}) (where datepickerRef is the ref of the Datepicker component) after incrementing the count of MultiCalendarsOptions works, but only if the modelValue of the Datepicker component is not defined.
On mobile, it would be great to have a vertical scrolling calendar, similar to the Calendar app on iOS/Android. I want to add months as I scroll down to the bottom. I've tried many approaches to get this to work, but I consistently encounter issues when dynamically changing the
count
ofMultiCalendarsOptions
.Here is a sample of the current behavior: https://stackblitz.com/edit/vuepic-vue-datepicker-nqzywp?file=src%2Fcomponents%2FPlayground.vue,src%2FApp.vue
As you can see on the Stackblitz, each added month is displayed as "January 0".
Describe the solution you'd like The solution would be to allow changing the
count
ofMultiCalendarsOptions
.Describe alternatives you've considered I found that calling
datepickerRef.value.setMonthYear({})
(wheredatepickerRef
is theref
of theDatepicker
component) after incrementing thecount
ofMultiCalendarsOptions
works, but only if themodelValue
of theDatepicker
component is not defined.Tested on vue-datepicker v8.7.0