Closed amirahmadihr closed 1 year ago
@amirahmadihr As you may see in the source file, to activate on-day-click
you should pass :disablePastDays="true"
and clicked day shouldn't be before of the current day.
emitDay(day, $event) {
if (this.disablePastDays) {
if (!day.isBefore(this.$moment(), 'day')) {
this.$emit('on-day-click', day);
} else {
$event.stopPropagation();
}
}
}
hi there, the event on-day-click (as you said in doc) dont work. please check and resolve the prob ty