    default-text: What shows if nothing is selected
    lkey: which key in the menu items that should be used as label (text)
    name: the name of the input field"
-  [data owner]
+  [data owner {:keys [ch]}]
   (reify
     om/IDisplayName
     (display-name [_]

(ns om-semantic.dropdown
  (:require [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]))

;; Utilities - should be moved to separate file when more components are added

        cursor   (if (< 1 (count selected))
                   (get-in data (pop selected))
                   data)]
    (when-let [ch (om/get-state owner :ch)]
      (put! ch [:select value]))
    (om/update! cursor (last selected) value)))

(defn dropdown-click
  "Dropdown is clicked"
  [owner]
  (when-let [ch (om/get-state owner :ch)]
    (put! ch [:click nil]))
  (om/update-state! owner :open not))

(defn -itemdiv
