You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
Describe the bug
The new preventMinMaxNavigation disables the previous AND next navigation arrow even if there is only max OR min defined.
Switching to the previous month/year by clicking on the month/year is working, but the previous navigation arrow is disabled.
Further, it's not possible to navigate to the next month via next arrow when switching to a previous month over the month selection.
<Datepicker
range
v-model="dateRange"
:preventMinMaxNavigation="true"
:maxDate="new Date()"
/>
Now try to click on <.
Switch month with the month selector. Now try to navigate forth by clicking on >.
Expected behavior
It should be possible to navigate forth when only minDate is defined and to navigate back when only maxDate is defined.
Further it should be possible to navigate forth and back, when current month is not maxDate.month.
The text was updated successfully, but these errors were encountered:
Describe the bug
The new
preventMinMaxNavigation
disables the previous AND next navigation arrow even if there is only max OR min defined.Switching to the previous month/year by clicking on the month/year is working, but the previous navigation arrow is disabled.
Further, it's not possible to navigate to the next month via next arrow when switching to a previous month over the month selection.
To Reproduce
Visit https://codesandbox.io/s/vue3-date-time-picker-preventminmaxnavigation-9wk2x?file=/src/components/Demo.vue
Now try to click on
<
.Switch month with the month selector. Now try to navigate forth by clicking on
>
.Expected behavior
It should be possible to navigate forth when only minDate is defined and to navigate back when only maxDate is defined.
Further it should be possible to navigate forth and back, when current month is not maxDate.month.
The text was updated successfully, but these errors were encountered: