support icon indicating copy to clipboard operation
support copied to clipboard

`DependencyField` `onChange` handler gets previous `value` in params

Open chuckn0rris opened this issue 10 months ago • 1 comments

Here https://bryntum.com/products/gantt/docs/#Gantt/widget/DependencyField

Code


new DependencyField({
    appendTo        : targetElement,
    store           : project.taskStore,
    dependencyStore : project.dependencyStore,
    otherSide       : 'from',
    ourSide         : 'to',
    value           : project.firstChild.dependencies,

    onChange({value}){
        console.log(value)
    }
});

See value has previous value, not a new one

Forum post

chuckn0rris avatar Apr 29 '25 10:04 chuckn0rris

Guessing here, but might be that change is triggered prior to engine calculations are finished

isglass avatar Apr 29 '25 12:04 isglass