vue-tailwind-datepicker
vue-tailwind-datepicker copied to clipboard
Inconsistent behavior when disabling future dates after selecting a date
Describe the bug When attempting to disable future dates, the functionality works properly until a date is selected. After selecting a date, the disabled dates are no longer functioning as expected.
To Reproduce Steps to reproduce the behavior:
- Navigate to the date picker functionality.
- Disable all future dates.
- Select a date from the date picker.
- Attempt to select a future date
Expected behavior The functionality should consistently disable all dates beyond the selected date, maintaining the initial restriction on future dates.
Screenshots
Desktop & mobile (please complete the following information):
- Browser: Chrome
- Library version: 1.6.1
Hey, Kindly asking if there are any chances this can be fixed in the next releases? Love the component, but this issue is a blocker for the production usage. Many thanks in advance!
Hey, I dug into the code and found something called disableInRange
. It's not in the docs, but adding it to the component did the trick.
i describe this bug here https://github.com/elreco/vue-tailwind-datepicker/issues/114#issuecomment-1962407529