adding combobox to recurring events samples "breaks"

Hi,

i am trying to build a form where I need recurring events and a combo box on the same lightbox. I’m using the samples and when i attempt to add code from the 15_combo_select sample to the 01_recurring_events sample everything seems to break.

I’m not sure what i’m doing wrong or if this is possible, i’ve attached the sample .html page

What happens when the code is added is the repeat event section dissapears and the combo box does not even appear.

any help appreciated.

Thanks,
Peter
01_recurring_events.zip (1.1 KB)

Hello,

It seems you forgot to add recurring section. Be sure to add it before “time” section:

scheduler.config.lightbox.sections = [ { name: "description", height: 50, map_to: "text", type: "textarea", focus: true }, { name: "snack", options: snacks, map_to: "combo_select", type: "combo", image_path: "../common/dhtmlxCombo/imgs/", filtering: true }, { name:"recurring", type:"recurring", map_to:"rec_type", button:"recurring" }, { name: "time", height: 72, type: "time", map_to: "auto"} ];
Best regards,
Ilya