Sorry if I double posted. I don’t think my first post went through.
I’m seeing the same issue as Steve in this post:
dhtmlx.com/docs/products/kb/ … s=lightbox
It works fine until I specify:
scheduler.config.lightbox.sections=[
{name:“description”, height:40, map_to:“text”, type:“textarea”,
focus:true},
{name:“details”, height:130, type:“textarea”,
map_to:“cal_event_desc”},
{name:“time”, height:72, type:“time”, map_to:“auto”},
{name:“recurring”, height:115, type:“recurring”, map_to:“rec_type”,
button:“recurring”},
{name:“priority”, height:40, type:“select”,
map_to:“cal_event_priority”,
options:[
{key:1, label:“Normal”},
{key:2, label:“Moderate”},
{key:3, label:“Critical”}
]
},
{name:“has_reminder”, height:40, type:“select”,
map_to:“reminder_time”,
options:[
{key:“0”, label:“No Reminder”},
{key:“5 minutes”, label:“5 minutes before”},
{key:“10 minutes”, label:“10 minutes before”},
{key:15, label:“15 minutes before”},
{key:20, label:“20 minutes before”},
{key:30, label:“30 minutes before”},
{key:45, label:“45 minutes before”},
{key:60, label:“1 hour before”},
{key:120, label:“2 hours before”},
{key:180, label:“3 hours before”},
{key:240, label:“4 hours before”},
{key:300, label:“5 hours before”},
{key:360, label:“6 hours before”},
{key:420, label:“7 hours before”},
{key:480, label:“8 hours before”},
{key:540, label:“9 hours before”},
{key:600, label:“10 hours before”},
{key:660, label:“11 hours before”},
{key:“12 hours”, label:“12 hours before”},
{key:“18 hours”, label:“18 hours before”},
{key:“1 day”, label:“1 day before”},
{key:“2 days”, label:“2 days before”},
{key:“3 days”, label:“3 days before”},
{key:“4 days”, label:“4 days before”},
{key:“5 days”, label:“5 days before”},
{key:“1 week”, label:“1 week before”},
{key:“2 weeks”, label:“2 weeks before”},
{key:“1 month”, label:“1 month before”}
]
}
]
While , in common case, the order of section doesn’t matter. In case of “recurring” events, it is important that both “time” and “recurring” sections are present in the form, and “time” section is specified after recurring section
scheduler.config.lightbox.sections=[
{name:“description”, height:40, map_to:“text”, type:“textarea”, focus:true},
{name:“details”, height:130, type:“textarea”, map_to:“cal_event_desc”},
{name:“recurring”, height:115, type:“recurring”, map_to:“rec_type”, button:“recurring”},
{name:“time”, height:72, type:“time”, map_to:“auto”},
{name:“priority”, height:40, type:“select”, map_to:“cal_event_priority”,
… all other code …