I don't see anything in API for disabling this behavior.
I just want users to have to click on a specific date.
I don't see anything in API for disabling this behavior.
I just want users to have to click on a specific date.
use the prop onSelecting
. For example: onSelecting = {slot => false}
I had to get selection for clicked date, without drag. Used the onSelectSlot with required logic.
onSelectSlot={(e) => {
if (e.slots?.length > 1) return; // or a message
alert("onSelectSlot" + JSON.stringify(e));
}}
Note: this wont handle drag selection styling!!