   [app _ selected]
   (toggle-buttons-selector/set-selected app [selected]))
 
-
-
+;; END boolean-nm
+;;..............................................................................
+
+;;------------------------------------------------------------------------------
+;; BEGIN: rbs-multi-select
+;; tag: <rbs-multi-select dataform search component>
+;; description: компонент множественного выбора из справочника
+;;------------------------------------------------------------------------------
 
 (defmethod selector-app-init :rbs-multi-select
   [_ _]

                                   (fn []
                                     (put! chan-update 1))}}))))

(defmethod selector-selected :band-integer-to
  [app _]
  (-> app input/value rc/parse-int-or-nil))

(defmethod selector-selected-set :band-integer-to
  [app _ selected]
  (input/set-value! app selected))





(defmethod selector-app-init :band-integer-from-to
  [_ {{:keys [buttons]} :search}]
  {:from input/app-init
   :to   input/app-init})

(defmethod selector :band-integer-from-to
  [app {:keys [text]} chan-update opts]

(defmethod selector-selected-clean :rbs-multi-select
  [app _]
  (multi-select/selected-clean app))

;; END rbs-multi-select
;;..............................................................................



;;; END DataForm search input components
;;;..................................................................................................
