undefined values in "typeselect"


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

gantt.config.lightbox.sections = [
{name: “description”, height: 70, map_to: “text”, type: “textarea”},
{name: “type”, type: “typeselect”, map_to: “type”},
{name: “time”, height: 72, type: “duration”, map_to: “auto”}

When I click on the “+” button to add a task, the “type” selector is showing as “undefined” in drop-down.

Could you please tell me what to do?



We’ve confirmed a regression in default locale, as a quick fix you can add this code somewhere before gantt.config.lightbox.sections:

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

We’ll publish a bugfix update in a couple days.