bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

`applyChangeset` leave updated calendar value in `changes` as not commited #9857

Open chuckn0rris opened 2 months ago

chuckn0rris commented 2 months ago

Forum post

After calling this code, project.changes will contain new value of calendar

this.project.applyChangeset({
    resources: {
        modified: [{
            id: 2,
            name: 'newVal',
            calendar: 'newVal',
        }]
    }
}); 

But if we call this code, project.changes will stay empty

this.project.applyChangeset({
    resources: {
        modified: [{
            id: 2,
            name: 'newVal'
        }]
    }
});