Gantt project lightbox defaults to task type

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?


Am I the only one seeing this?

Unfortunately, I couldn’t reproduce it:

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:
Or send me an HTML file with all the necessary Javascript and CSS files.

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