Our powerful JS Calendar component


Post by geoffswift »

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()


Post by alex.l »

Confirmed, thank you for the report. Here is the ticket https://github.com/bryntum/support/issues/4548

All the best,
Alex


Post Reply