From ac2fa85d715e403e167204cbf97eb0d5a09f2cbd Mon Sep 17 00:00:00 2001 From: Gregg8 Date: Wed, 4 Jan 2017 11:56:17 +1100 Subject: [PATCH] Get around reagent 0.6.0 checkbox bug as reported here: https://github.com/reagent-project/reagent/issues/264 --- src/re_com/misc.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/re_com/misc.cljs b/src/re_com/misc.cljs index 6fd92bf5..6bb4c236 100644 --- a/src/re_com/misc.cljs +++ b/src/re_com/misc.cljs @@ -230,7 +230,7 @@ {:cursor cursor} style) :disabled disabled? - :checked model + :checked (boolean model) :on-change (handler-fn (callback-fn))} attr)] (when label