In the documentation there is an example here https://www.bryntum.com/docs/calendar/api/Scheduler/feature/EventEdit#config-editorConfig
const scheduler = new Scheduler({
features : {
eventEdit : {
editorConfig : {
bbar : {
items : {
deleteButton : null
}
}
}
}
}
})
This approach works with the scheduler, but not with the calendar. A crash occurs when opening the editor dialogue, and this can be readily reproduced on the basic calendar demo by adding the same eventEdit
section within features
.
I also tried using deleteButton: { hidden: true }
and that made no diffference.
As a workaround we hook beforeEventEditShow
and call deleteButton.hide()