Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REACT] task name disappears when returning false from beforeRemove #5720

Open
taauntik opened this issue Dec 6, 2022 · 0 comments
Open
Labels
bug Something isn't working forum Issues from forum react React framework integration

Comments

@taauntik
Copy link

taauntik commented Dec 6, 2022

You can reproduce this here https://bryntum.com/products/gantt/examples/frameworks/react/javascript/basic/build/

chrome_lLoaOn09VG.mp4

Forum post

Hi team,

I tried to cancel delete task by catch event beforeremove

gantt.taskStore.on({
           beforeremove({ records }) {
              //Some condition to check and cancel delete task
              return false;
           }
       });

But it not restore Task's name.

I tested with demo version, by delete task Install apache
1.png2.png
. Please help me how to cancel delete task

@taauntik taauntik added bug Something isn't working react React framework integration forum Issues from forum labels Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum react React framework integration
Projects
None yet
Development

No branches or pull requests

1 participant