Page 1 of 1

The edit modal does not open in the Bryntum Taskboard in Angular.

Posted: Fri Aug 02, 2024 8:39 am
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..


Re: The edit modal does not open in the Bryntum Taskboard in Angular.

Posted: Fri Aug 02, 2024 9:00 am
by mats

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