Our state of the art Gantt chart


Post by tony bi »

we install the v5.0.6 into emberjs. The UI shows up but the task edit dialog has error when double click task.

gantt.module.js:899 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at Store.value (gantt.module.js:899:750704)
    at CalendarField.value (gantt.module.js:899:1210769)
    at CalendarField.set (gantt.module.js:899:31836)
    at CalendarField.value (gantt.module.js:899:1203780)
    at CalendarField.set (gantt.module.js:899:31836)
    at CalendarField.value (gantt.module.js:899:1196983)
    at new Base$1 (gantt.module.js:899:38677)
    at CalendarField.eval (gantt.module.js:891:5694)
    at new m (gantt.module.js:899:100782)
    at CalendarField.eval (gantt.module.js:891:5694)

However, after we use the v4.3.0, the edit dialog works fine.

Attachments
Screen Shot 2022-06-27 at 11.42.09 AM.png
Screen Shot 2022-06-27 at 11.42.09 AM.png (53.06 KiB) Viewed 284 times

Post by tasnim »

Could you please provide a runnable test case and also the steps to reproduce it? Are you able to reproduce it in our online example?


Post by tony bi »

We created an example at https://github.com/rajeshbnv1994/ember-quickStart

 Added "dependencies": {
    "@bryntum/gantt": "npm:@bryntum/gantt-trial@5.0.6"
  }

and css at index.html

You can have a look
Thanks


Post by tony bi »

Do you have any update for it?


Post by alex.l »

Hi tony bi,

We never used our components with EmberJS, looks like this is framework related problem that we have to investigate deeply. I've opened a feature request to fix that and implement a demo with EmberJS https://github.com/bryntum/support/issues/4877

All the best,
Alex


Post Reply