removing placeholder.

This commit is contained in:
2021-05-27 06:12:07 -07:00
parent bfbab1fa1f
commit 01d122a4d7
3 changed files with 12 additions and 7 deletions

View File

@@ -8,6 +8,7 @@
[react]))
(defn typeahead-v3-internal [{:keys [class style disabled entities entity->text entities-by-id entity-index on-change disabled value name auto-focus] :or {disabled false} :as i}]
(println "hello")
(let [[items set-items] (react/useState (map clj->js entities))
state-reducer (fn [state actions-and-changes]
(cond
@@ -102,4 +103,6 @@
(entity->text item)]))]]]]))
(defn typeahead-v3 [{:keys [class disabled entities entity->text entities-by-id entity-index on-change value ] :as props}]
[:f> typeahead-v3-internal props])
(println typeahead-v3-internal)
[:div
[:f> typeahead-v3-internal props]])