Premium support for our pure JavaScript UI components


Post by Leonardo »

Hello everyone, it's me again :P

I'm returning false on the event "beforeupdate" that can be handled on an eventStore because, in some conditions, I don't want an event to be moved. However, when I return false, the event disappears from the scheduler as soon as I drop it in on a different resource.
Is this the intended behaviour? If yes, how can I just prevent the event from being completed? e.g. it comes back at its original position, instead of just disappearing from the view.

I've been able to reproduce it in any of your demos, by just adding this line and then moving an event via drag&drop in a different resource.
scheduler.eventStore.on('beforeupdate', event => false);

Post by mats »

Looks like a bug yes, ticket opened! https://github.com/bryntum/support/issues/517

Thanks for reporting!

Post by Leonardo »

Cool, thank you! :)

Post Reply