-
-
Notifications
You must be signed in to change notification settings - Fork 165
Description
Hey. I am using this plugin to implement my own Datepicker component (custom dropdown, presets, apply butron etc.). Right now I have VueDatePicker component with auto-apply, range (including partialRange) turned on. I would like to allow user to select not only a full range, but also a starting or an ending dates. But I see that when using auto-apply and partialRange, it does not really work. Is this a known issue?
<Datepicker v-model="date" :range="{ partialRange: true }" autoApply />
Testing can be done in your StackBlitz env: https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue (just replace the component code with my given).
When you select only a single date and click outside the dropdown, the date is not being selected. Am I missing something or this is really a bug?
I dont see documentation mentioning this scenario. If this is the expected behavior, how would you suggest working around it?