Pārlūkot izejas kodu

fix the fallback for keywords.

Lucas Stadler 12 gadi atpakaļ
vecāks
revīzija
17af157bc0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      clj/clarity/cljs/clarity.cljs

+ 1 - 1
clj/clarity/cljs/clarity.cljs

@ -90,7 +90,7 @@
90 90
91 91
(def keyword-pattern "^:(\\w+|\\w+(\\.\\w+)*\\/\\w+)$")
92 92
93
(defmethod make-typed-input 'Keyword [m owner {:keys [key val] :as opts}]
93
(defmethod make-typed-input 'Keyword [m owner {:keys [type key val] :as opts}]
94 94
  (om/component
95 95
    (dom/input #js {:type "text"
96 96
                    :value val