Page 1 of 1

DependencyStore - remove event

Posted: Thu Jan 20, 2022 6:33 pm
by peterlechner

Hi,

if you remove a dependency within the edit dialog, the remove event of the dependencyStore is fired. If you then press the 'Cancel' button, which event is called to indicate that the dependency is added to the store again?

Thanks, Peter


Re: DependencyStore - remove event

Posted: Thu Jan 20, 2022 11:31 pm
by mats

That's a bit confusing yes, I've opened a ticket to look into it. https://github.com/bryntum/support/issues/4052


Re: DependencyStore - remove event

Posted: Mon Jan 24, 2022 2:01 pm
by peterlechner

If you add a dependency via the edit event and then 'Cancel' the remove event is not fired as well.
BR, Peter


Re: DependencyStore - remove event

Posted: Mon Jan 24, 2022 2:02 pm
by mats

Noted!


Re: DependencyStore - remove event

Posted: Wed Jan 26, 2022 4:13 pm
by peterlechner

I found another problem maybe related to this issue. If you assign a resource in the edit dialog, the add event is fired.
If you then 'Cancel' the remove event is not called.


Re: DependencyStore - remove event

Posted: Wed Jan 26, 2022 6:26 pm
by mats

Same issue yes, we're discussing it internally.