Unable to get the section thru getLightboxSection method

Hello,

I am adding the following code before the “gantt.init”

gantt.mixin(gantt.locale.labels, {
    type_task: "Task",
    type_project: "Project",
    type_milestone: "Milestone"
});

function SetEffort() {
    debugger
    var veffort = gantt.getLightboxSection('effort');
    var vEffval = veffort.getValue();
}

// add section to type selection: task, project or milestone
gantt.config.lightbox.sections = [
	{ name: "description", height: 70, map_to: "text", type: "textarea", focus: true },
	{ name: "type", type: "typeselect", map_to: "type", onchange: SetEffort},
	{ name: "time", height: 72, type: "time", map_to: "auto" },
    { name: "effort", height: 20, map_to: "effort", type: "textarea" }
    ];

while i add a task, When I change the type drop-down.I am not able to get the “Effort” section through “getLightboxSection” method. It is return null value only.

Could you please tell me what to do?

Thanks,

Unfortunately this issue is related to task types.

Please, wait a bit for the Gantt update or create a ticket in the support system if you have a license to get the updated version in a particular order.