I'm trying to catch task editor before closing to do some validations, and it's not working:
taskEditFeature: {
editorConfig: {
autoClose: false,
listeners: {
show() {
const taskRecord = this.record;
// this one works
},
beforeHide: (event, source) => {
this.console.debug(event, source);
// this one doesn't
},
there is the reference:
https://www.bryntum.com/docs/scheduler-pro/api/SchedulerPro/widget/SchedulerTaskEditor#event-beforeHide