Our pure JavaScript Scheduler component


Post by mos »

The taskEditCanceled event doesn't appear to be firing on SchedulerPro.
I also wasn't able to spot that event type with an attached catchAll listener.

The pen referenced below simply added a listener + console.log to your TaskEditor sample.
Sample Pen.

I'd be curious aftertaskedit returns a property to determine if the selection was a save or cancel.
The intent is to reverse all store changes (via taskeditor grid) that haven't been committed.

Thanks


Post by tasnim »

Hi,

Thank you for your report. Reproduced! We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/6430

Good Luck :),
Tasnim


Post by tasnim »

Hi mos,

I'm not able to reproduce the issue anymore. In your code pen also.
Could you please try and let us know if you're able to reproduce the issue?


Post by mos »

Confirming this still an issue upon testing (also in the referenced pen).

The taskEditCanceled event doesn't fire when the taskEditor is closed.


Post by tasnim »

Hi,

Please check the attached video I'm able to reproduce with the pen

Attachments
Recording 2023-03-23 183548.mp4
(920.37 KiB) Downloaded 15 times

Post by mos »

I see the issue here. It only fires when opening existing items.
It still does not fire when a new event editor is opened and closed.

May I confirm if this is expected behavior?
...or is there another listener that captures when any task editor is cancelled/closed?


Post by tasnim »

Thanks for your clarification. Confirmed https://github.com/bryntum/support/issues/6430


Post Reply