From 5043371781ce204e3d85665a4d23c164cea9bed9 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Mon, 18 Jun 2018 01:16:21 +0300 Subject: [PATCH] Fix mui textfield select check --- examples/material-ui/src/example/core.cljs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/material-ui/src/example/core.cljs b/examples/material-ui/src/example/core.cljs index 4160e42..33cdfb8 100644 --- a/examples/material-ui/src/example/core.cljs +++ b/examples/material-ui/src/example/core.cljs @@ -36,7 +36,7 @@ nil ;; Select doesn't require cursor fix so default can be used. - (not (:select props)) + (:select props) nil :else @@ -65,8 +65,7 @@ "reset"] [text-field - {:id "example" - :value @text-state + {:value @text-state :label "Text input" :placeholder "Placeholder" :helper-text "Helper text" @@ -75,8 +74,7 @@ :inputRef #(js/console.log "input-ref" %)}] [text-field - {:id "example" - :value @text-state + {:value @text-state :label "Textarea" :placeholder "Placeholder" :helper-text "Helper text" @@ -87,8 +85,7 @@ :rows 10}] [text-field - {:id "example" - :value @text-state + {:value @text-state :label "Select" :placeholder "Placeholder" :helper-text "Helper text"