Closed skstuder closed 5 months ago
Describe the bug We need to fill the date picker with values, without updating the v-model value. Like a pending selection.
My plan to do this was using the updateInternalModelValue method.
updateInternalModelValue
When I pass the format for week-picker and range which is [[Date, Date] , [Date, Date]] I get the following error.
week-picker
range
[[Date, Date] , [Date, Date]]
If I pass it as [Date, Date] the function runs, but it does not know how to properly select the ranges due to the props passed.
[Date, Date]
Seems like
To Reproduce Steps to reproduce the behavior:
[[Date, Date],[Date, Date]]
Describe the bug We need to fill the date picker with values, without updating the v-model value. Like a pending selection.
My plan to do this was using the
updateInternalModelValue
method.When I pass the format for![Screenshot 2024-04-08 at 9 08 48 AM](https://github.com/Vuepic/vue-datepicker/assets/55567604/e7bf580c-1c05-4553-9633-c25250c63efb)
week-picker
andrange
which is[[Date, Date] , [Date, Date]]
I get the following error.If I pass it as
[Date, Date]
the function runs, but it does not know how to properly select the ranges due to the props passed.Seems like
To Reproduce Steps to reproduce the behavior:
week-picker
andrange
updateInternalModelValue
function with the format ofweek-picker
range
which is[[Date, Date],[Date, Date]]