You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue in the dependency store. I want to add additional logic before creating new dependencies between tasks for that I want to use beforeAdd event of the Dependency store as it says in the documentation that it is a preventable event and can be prevented dependencies by returning false
But when I return false from that function it gives error:
ghulamghousdev
changed the title
[REACT] Dependency Store beforeAdd Event giving error if it returns false
Dependency Store beforeAdd Event giving error if it returns false
Jan 22, 2024
Steps to repro:
In our
Gantt/examples/frameworks/react/typescript/basic
, try this code in App.tsx:Forum post
Hi All,
I am facing an issue in the dependency store. I want to add additional logic before creating new dependencies between tasks for that I want to use beforeAdd event of the Dependency store as it says in the documentation that it is a preventable event and can be prevented dependencies by returning false
But when I return false from that function it gives error:
The code I am using for now:
I am also attaching a runnable test case with steps to reproduce:
Add any dependency between any task.
See error in console.
The text was updated successfully, but these errors were encountered: