Skip to content

'Add' button on DependencyTab no longer works via ref #11327

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

Open
taauntik opened this issue May 12, 2025 · 0 comments
Open

'Add' button on DependencyTab no longer works via ref #11327

taauntik opened this issue May 12, 2025 · 0 comments
Labels
bug Something isn't working forum Issues from forum OEM OEM customer regression Worked previously, now broken

Comments

@taauntik
Copy link

Forum post

Dear Bryntum Team,

We just upgraded from Bryntum Gantt 6.1.6 to 6.2.1.

Previously we used the Button ref syntax to allow us to use an items array on the Task Editor PredecessorsTab, SuccessorsTab and ResourcesTab.

the 'add' button no longer works on PredecessorsTab and SuccessorsTab. It never hits insertNewDependency() in onAddClick
the 'add' button still works on ResourcesTab.
the 'remove' button still works for all three, it still fires onRemoveClick.

sample config:

taskEdit: {
  items: {
    predecessorsTab: {
      items: {
        toolbar: {
          items: [{ ref: 'remove', text: 'Remove' }, '|', { ref: 'add', text: 'Add' }],
        },
      },
    },
  },
},

https://codepen.io/adammarshall84/pen/yyyxdbd?editors=1010

@taauntik taauntik added bug Something isn't working regression Worked previously, now broken forum Issues from forum OEM OEM customer labels May 12, 2025
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 OEM OEM customer regression Worked previously, now broken
Projects
None yet
Development

No branches or pull requests

1 participant