When I load the Gantt chart component, the following warning message appears.
Hi Wyatt,
Greetings from Syncfusion Support.
We are able to
replicate the issue on our end when required Edit module for Editing is not
injected or else the wrong module is included in the Gantt chart sample,
causing a warning message to appear. We recommend suggesting the inject and
import the Edit module to resolve the problem. We have attached a code snippet
and a sample for reference.
Ug link: https://ej2.syncfusion.com/vue/documentation/gantt/module
|
Warning case |
Without warning case |
|
import { GanttComponent, edit, Selection, Toolbar, DayMarkers } from "@syncfusion/ej2-vue-gantt"; gantt: [edit, Selection, Toolbar, DayMarkers] }
Image:
|
import { GanttComponent, Edit, Selection, Toolbar, DayMarkers } from "@syncfusion/ej2-vue-gantt"; gantt: [Edit, Selection, Toolbar, DayMarkers] } |
Sample link: https://stackblitz.com/edit/5emwru-7crrzo?file=src%2FApp.vue
Contact us if you require any further assistance.
Regards,
Ajithkumar G
Thank you for the response, but the warning still appears.
What's curious is that the treegrid appears instead of the gantt.
Hi Wyatt,
We are able to replicate the problem at our end. We have logged the problem “Edit mode as dialog used in Gantt chart warning error message thrown " as breaking issue. We are working on a fix for this issue and plan to include it in our upcoming patch release, which is currently scheduled for April, 17 2024.
You can track the progress of the resolution by visiting the feedback link provided below:
Feedback link: https://www.syncfusion.com/feedback/52589/edit-mode-as-dialog-used-in-gantt-chart-warning-error-message-thrown
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Ajithkumar G
Hi Wyatt,
Sorry for the inconvenience caused.
We are glad to announce that our patch release (v 25.1.42) is rolled out successfully. In this release, we have
added the fix for the reported issue.
Please upgrade to the latest version packages to resolve this
issue “Warning message throws after injecting Edit modules in case of Dialog
mode enabled".
Root Cause: In treegrid modules, we didn't inject edit module during dialog
edit.
Sample link: https://stackblitz.com/edit/59aptp-svycsdj2?file=package.json
Contact us if you require any further assistance.
Regards,
Ajithkumar G