Page 1 of 1
[VUE 2] Assignment store beforeUpdate not working
Posted: Thu Nov 03, 2022 8:41 am
by Softhouse
Hi!
We are using assignment store to enable events being shown in multiple resources.
But I noticed that when adding the beforeUpdate listener and returning false from it, assignments are still changed.
I added a logger in the listener so I know it is called when making changes to the assignments.
Am I missing something or could it be a bug in the function?
We are using Bryntum 5.2.1 with Typescript.
I have attached a test example where I recreated the issue.
To recreate the issue open the edit window for the event and change its resources.
Thanks in advance!
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Thu Nov 03, 2022 9:28 am
by tasnim
Hi,
Thanks for reporting. Unfortunately, It's not supported yet. I've created a ticket for that here it is https://github.com/bryntum/support/issues/5519
Good Luck ,
Tasnim
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Mon Nov 28, 2022 3:49 pm
by Softhouse
Hi again!
Do you have any timeline on when this could be resolved?
We would appreciate it if it was solved
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Tue Nov 29, 2022 7:18 am
by tasnim
Unfortunately, It's currently not on our roadmap. So can't say when it's going to be fixed. But if you need this urgently then you could contact our sales here https://bryntum.com/services/ for a feature sponsorship.
Good Luck ,
Tasnim
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Tue Nov 29, 2022 10:42 am
by Softhouse
Thanks for the response.
It would be good if the documentation would be updated to be in line with the functionality.
Right now it is not tagged with "PREVENTABLE" but in the description it is described as preventable by returning false.
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Tue Nov 29, 2022 11:01 am
by mats
We'll update docs to not state it being preventable. Can you instead try using https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventEdit#event-beforeEventSave to validate your changes in the event editor?
Re: [VUE 2] Assignment store beforeUpdate not working
Posted: Tue Nov 29, 2022 12:08 pm
by Softhouse
Thanks for the suggestion. Will try it and see if that could solve our issue.