Our pure JavaScript Scheduler component
hi,
I set allowOverlap = false
I would like to inform Scheduler users when the event they try to create/save using the EventEvit form overlaps another one.
I tried to catch beforeEventSave
but the overlapping check seems to occurs before the event is fired.
What is the best way to achieve this?
Yes, it's true. The allowOverlap
check is in save()
method of EventEdit
class and is executed earlier than the beforeEventSave
event is fired.
There is currently no public method of getting the notification on failed overlapping restriction. The feature request is here: https://github.com/bryntum/support/issues/2841