Closed alexovn closed 3 days ago
Expected behavior, as the time is also validated, in your case, the time after selection is bigger than the initially provided new Date()
value, and there is no way a picker can know if time has passed or not. Reopening the menu will fix the issue, or simply set the time to 00:00
Describe the bug
https://github.com/Vuepic/vue-datepicker/assets/64487090/b0a7b2ac-7ca9-4a4f-97b8-5d0e5eaddd4b
When you try to use
range
prop andmin-date
prop together on calendar you periodically can't select new dates with button or by click(if you useauto-apply
prop). Sov-model
isn't updating and eventupdate:model-value
can't be triggered until you choose dates again.To Reproduce Steps to reproduce the behaviour:
update:model-value
event to calendar to see when it's properly triggeredExpected behaviour
v-model
is updating every time you change dates andmin-date
prop doesn't break it.update:model-value
event is working properly too.Sandbox https://stackblitz.com/edit/vitejs-vite-r8wj37?file=src%2FApp.vue
Screenshots If applicable, add screenshots to help explain your problem.
Desktop & mobile (please complete the following information):