Vuepic / vue-datepicker

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

Range fixedStart or fixedEnd doesn't disable time picker #910

Closed vukadinFE closed 3 days ago

vukadinFE commented 3 weeks ago

Describe the bug Using fixedStart on the range picker still enables pick-up time. The same is true for fixedEnd.

To Reproduce Steps to reproduce the behavior:

  1. <VueDatePicker :range="{ fixedStart: DATE }" time-picker-inline />
  2. Open picker

Expected behavior The time picker for the start date should be disabled

Screenshots

image

Desktop & mobile (please complete the following information):

Jasenkoo commented 3 days ago

You are not setting fixedStart properly, you need to pass boolean and then in v-model to set a desired date, either first or second