Vuepic / vue-datepicker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
1.38k stars 137 forks source link

Date picker with multi calendars not update when change from text-input #894

Closed felipe-lima-gupy closed 1 month ago

felipe-lima-gupy commented 1 month ago

Using the following options:

<Datepicker v-model="date" text-input :multi-calendars="true" :enable-time-picker="false" />

You may notice that if you change the date from the picker, the input changes, but if you change the input, the selector does not update. Works correctly without the multi-calendars property

example: https://stackblitz.com/edit/vuepic-vue-datepicker-yxqezs?file=src%2Fcomponents%2FPlayground.vue

video: https://github.com/Vuepic/vue-datepicker/assets/132702179/1ebd7539-cde4-45ad-bf6f-9762b38f79c2