Hi team, I tried disabling the resource field using resourceField.disabled = true;. When we edit an event this prevents me from adding new resources but can remove existing ones for that event. How to prevent that from happening
Support Forum
Hi,
What version are you using?
It seems to be working with the latest version
Tested here https://bryntum.com/products/calendar/examples/basic/
You could use https://bryntum.com/products/calendar/docs/api/Scheduler/feature/EventEdit#event-beforeEventEditShow event to achieve that
calendar.on('beforeEventEditShow', e => {
e.editor.widgetMap.resourceField.value = null;
})