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

disabledDates customPredictor not correct

Open sobchenyuk opened this issue 5 years ago • 2 comments

screencast-atri test_3000-2019 12 (1)

`customPredictor: (date) => {

var current = moment(date).startOf('day'), from = moment(fromField).startOf('day');

if (current.isBefore(from)) { return true; } }`

sobchenyuk avatar Dec 17 '19 12:12 sobchenyuk

when the date is disabled - the month of this date is not available, although you need to enable it

sobchenyuk avatar Dec 17 '19 14:12 sobchenyuk

Same: When disabled date 15 March 2019 and clicked to choose a month, a March is disabled, but clicked in arrow I can choose 16 March an example. A March should be available for selection and prev month is disabled.

attikos avatar Dec 17 '19 14:12 attikos