Syncfusion greetings.
We have checked the isSlotAvailable method and it is working correctly. Kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your code example/runnable sample (if possible) to serve you better.
onActionBegin(args) {
if (args.requestType === 'eventCreate' || args.requestType === 'eventChange') {
let data;
if (args.requestType === 'eventCreate') {
data = args.data[0];
}
else if (args.requestType === 'eventChange') {
data = args.data;
}
if (!this.scheduleObj.isSlotAvailable(data)) {
args.cancel = true;
}
}
}
Regards,
Karthi