Gantt project lightbox defaults to task type


#1

When adding a new task the gantt, it defaults to ‘task’ type which is fine:

if I change it to ‘project’ then the lightbox adapts as expected but the type is still ‘task’, meaning the I must re-select ‘project’ again or if I don’t notice then a task item is inadvertently created - surely this isn’t correct?

Gantt%20Project%20LB%202


#2

Am I the only one seeing this?


#3

Hello,
Unfortunately, I couldn’t reproduce it:
http://snippet.dhtmlx.com/5/996d828c5
http://snippet.dhtmlx.com/5/0c4ce4546

Probably, it is related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, reproduce the issue in the snippet, then click on the “Share” button and send me the link:
https://snippet.dhtmlx.com/38ee1b370
Or send me an HTML file with all the necessary Javascript and CSS files.


#4

I actually saw this even on one of your samples but I can’t find it now, anyway the problems is related to:

{name:"type", type: "typeselect", map_to: "auto"},

where it should be (as per your example)

{name:"type", type: "typeselect", map_to: "type"},

It is working fine now, thanks