units and repeat optiona at the same time

Hello!
I configured dhtmlxScheduler that repeat option work. Then I add the units option and then the repeat option isn’t visible any more. How can I enable both options. Thank you!
01_recurring_events.rar (1.1 KB)

Form configuration must look as

      scheduler.config.lightbox.sections=[   
         {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
         {name:"custom", height:23, type:"select", options:sections, map_to:"section_id" },
         {name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
         {name:"time", height:72, type:"time", map_to:"auto"}
      ]

It works. Thanks