support
support copied to clipboard
[VUE-3] Preventable events don't work in Vue wrapper
Using any Vue 3 demo, add the following event listener
<bryntum-calendar
ref="calendar"
v-bind="calendarConfig"
@beforeEventEdit="openEventEditor"
/>
// beforeEventEdit handler
const openEventEditor = ({ eventRecord }) => {
console.log('beforeEventEdit');
return false;
};
on 5.6.13 it works as expected, the popup is not displayed, but on 6.x the popup is displayed.
Returning false from a beforeEventEdit handler definitely does prevent editing. This needs to be investigated more before logging a bug like this.
We need a new Project option: "Framework wrappers"