Litepicker icon indicating copy to clipboard operation
Litepicker copied to clipboard

Disable weekdays

Open jcsdesterke opened this issue 3 years ago • 1 comments

Hello there,

My questions is if it is possible to en/disable specific weekdays. For instance disable all wednesdays or mondays.

Thanks!

jcsdesterke avatar Dec 21 '21 10:12 jcsdesterke

Solution:

lockDaysFilter: (day) => {
                const d = day.getDay();

                return [2, 3, 4, 6, 0].includes(d);
            },

jcsdesterke avatar Dec 21 '21 10:12 jcsdesterke