Hi,
We are trying to capture what fields have changed after the user edits a task and hits save in the edit task modal.
Usually the modified fields are present in taskRecord.modifications, available as part of the afterTaskSave event that gets fired.
However when revisions is enabled, this is no longer the case; the modifications object does not exist.
How can I capture all the fields modified by the edit modal in this case?
To reproduce this we can use similar code in the real time and advanced example (to see the behaviour with and without revisions):
With revisions: https://www.bryntum.com/products/gantt/examples/realtime-updates/
Without revisions: https://www.bryntum.com/products/gantt/examples/advanced/
afterTaskSave({taskRecord}) {
console.log(taskRecord.modifications);
}
When we make changes to any field in the modal and hit save, we see the modifications object being logged in the advanced example, but not the real time example.
If not for modifications object is there something else that i can rely on