Vuepic / vue-datepicker

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

Multi selected with auto apply not working correctly. #844

Closed wasifsyed-driverup closed 5 months ago

wasifsyed-driverup commented 5 months ago

Describe the bug I'm trying to use auto-apply with multi-select but after selecting each date the calendar closes itself, which is a bit annoying.

To Reproduce Top reproduce this issue you can use multi-select with autoApply. Expected behaviour We should be able to select as many as dates possible without the calendar closing by itself.

Link for example https://stackblitz.com/edit/nrqa3f?file=src%2Fmain.js,src%2FApp.vue

Desktop & mobile (please complete the following information):

Jasenkoo commented 5 months ago

You can use config.closeOnAutoApply: false prop to prevent this. Playground

wasifsyed-driverup commented 5 months ago

Thanks @Jasenkoo