I am using vuetify date picker and it's inside a dialog box. When I open the dialog box for first time it's showing current month and if I go to previous month and close the dialog box, then reopen it, it still remain in the previous month. I need to avoid it. Each time when the calendar opens, it should be in the current month without user to navigate to current month manually.
<v-dialog v-model="isShow">
<v-date-picker
v-model="dates1"
:max="max"
:min="min"
readonly
range
color="primary"
></v-date-picker>
</v-dialog>
My date picker is as in above and is there any way to solve this issue?
v-model
at some point. I think it would be very annoying to scroll back to the year/month I wanted if I accidentally closed the datepicker. If I intentionally close the datepicker I am probably happy my changes were preserved instead of thrown away. You could deactivate navigating the months if that is a problem for you.