vue-tailwind-datepicker icon indicating copy to clipboard operation
vue-tailwind-datepicker copied to clipboard

Disabled dates are accessible after selecting the date

Open ElizabethCF01 opened this issue 7 months ago • 4 comments

Describe the bug In a single date picker without input, if any date is disable, in the past or in the future and an available date is selected, then all the dates become accessible.

To Reproduce Steps to reproduce the behavior:

  1. Add a single date picker, disable any date.
  2. Select a date from the date picker.
  3. Attempt to select a date that must be disabled
  4. See error

Expected behavior Keep dates disabled according to the function definition passed as 'disable-date' parameter in single date pickers after select a date

Screenshots image

Playground https://stackblitz.com/edit/vue-tailwind-datepicker-onuvfj?file=src%2Fcomponents%2FPlayground.vue

**Desktop & mobile **

  • Browser chrome
  • Library version 1.7.3

ElizabethCF01 avatar Jul 15 '24 04:07 ElizabethCF01