Our flexible Kanban board for managing tasks with drag drop


Post by amit.sharma »

The edit modal fails to open in the Bryntum Taskboard when using the Angular framework, preventing users from being able to modify tasks directly through the interface.

when I click the edit button
error in console
Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'editorConfig')
TypeError: Cannot read properties of undefined (reading '
editorConfig')
at TaskEdit.processItems [as _processItems] (all-task.config.ts:54:17)

code

   processItems({ feature, items, taskRecord }) {
                feature._editorConfig.title = "Edit Task";
                if(taskRecord.originalData.name == "New task"){
                    feature._editorConfig.title = "Add Task";
                }
                items.opportunityService.items = feature.owner.initialConfig.features.taskEdit.items.opportunityService.items;
                items.priority.items = TASK_PRIORITY;
            }

Same problem we are getting when we want to add a new task

If you need more information please ask..

Attachments
Screenshot 2024-08-02 120445.png
Screenshot 2024-08-02 120445.png (19.52 KiB) Viewed 371 times

Post by mats »

Can you please share your full code as a test case that we can run locally to debug?


Post Reply