Hi there,
is there a way to make weekends disabled in the calendar component?
Thanks,
Bálint
Hi there,
is there a way to make weekends disabled in the calendar component?
Thanks,
Bálint
You mean to make Saturday, Sunday not selectable? Just filter it in disabled
parameter
...
disabled(date) {
return [0, 6].indexOf(date.getDay()) >= 0;
},
...
Brilliant, thanks!