 
 
 
-(defn component [app own {:keys [placeholder selected-fn] :as opts}]
+(defn component [app own {:keys [placeholder on-selected-fn] :as opts}]
   (reify
     om/IRender
     (render [_]

                                                                     :onChange-valid?-fn common-input/vldfn-not-empty-date}}})

                                      (form-group/render
                                       {:label "Установлена продолжитльность"
                                        :body  (dom/b #js {:className "text-primary"}                                                     
                                                      (interval-as-string from-time to-time))}))


                                        {:from-time from-time 
                                         :to-time   to-time})
                                       (modal/hide app-modal)
                                       (when on-selected-fn (on-selected-fn)))
                                     }})))))))


