issues
search
charliekassel
/
vuejs-datepicker
A simple Vue.js datepicker component. Supports disabling of dates, inline mode, translations
MIT License
2.61k
stars
730
forks
source link
Bug report: Disabled date functionality not working correctly with default dates
#841
Open
matjaz321
opened
3 years ago
matjaz321
commented
3 years ago
Steps to reproduce the problem
Open this link:
https://codesandbox.io/s/vue-datepicker-demo-forked-6y2kt
You will see two datepickers (from and to), by default both of the datepickers will have date of today.
From datepicker will have disabled dates are in the future (so date > today)
To datepicker will have disabled dates that are in the past (date < today)
Open the from datepicker and you will see that todays date is disabled you cant click it
Now open the from datepicker and select the same date
Now go to the to datepicker and open it and you will see that you can select todays date
(You can see in this image that 13th is disabled...)
Steps to reproduce the problem
(You can see in this image that 13th is disabled...)