vue-airbnb-style-datepicker icon indicating copy to clipboard operation
vue-airbnb-style-datepicker copied to clipboard

Add isDayBlocked functionality from react-dates

Open postalservice14 opened this issue 5 years ago • 0 comments

I would like the ability to pass a function as a prop that gets fired to determine if a date is disabled or not. I believe react-dates has this functionality as isDayBlocked

Here is an example to disable all Sundays:

<AirbnbStyleDatepicker
    :is-day-blocked="(date) => moment(date).day() === 0"
/>

postalservice14 avatar May 16 '19 21:05 postalservice14