vuejs-datepicker icon indicating copy to clipboard operation
vuejs-datepicker copied to clipboard

Bug report: Disabled date functionality not working correctly with default dates

Open matjaz321 opened this issue 4 years ago • 0 comments

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

image (You can see in this image that 13th is disabled...)

matjaz321 avatar Jan 13 '21 11:01 matjaz321