Premium support for our pure JavaScript UI components


Post by tomerPlanit »

Hi I use scheduler 5.2.9 with angular 14.
I am trying to put all changes to the store by one action, so I decided to use the applyChangeset method.

After some check I found the the that the "updated" part of the parameters not works(All other parameters works fine),
I create some demo with button that click on will:
1) Remove one event:

remove.png
remove.png (93.57 KiB) Viewed 105 times

2) Change one job the dates:

update.png
update.png (99.91 KiB) Viewed 105 times

The result is that the event that I wanted to remove has been removed but the event that I tried to update not changed.

What I am doing wrong?

Attachments
angular-14-5.2.9.-applyChangeSet.rar
(111.02 KiB) Downloaded 15 times

Post by tasnim »

Thank you for your detailed report and the test case. Your syntax looks correct but it seems like it's not working with new Date(....) but it works fine with ISO strings. So opened a ticket to fix this. Here it is https://github.com/bryntum/support/issues/6111

And for now, as a workaround, you could use the dates by converting them to a ISO string like this

startDate: new Date(2017, 0, 1, 10).toISOString(),
endDate: new Date(2017, 0, 1, 11, 30).toISOString(),

Post Reply