Explorar o código

fix(ui): wrong checked attr for input type=checkbox

Andelf %!s(int64=3) %!d(string=hai) anos
pai
achega
3e374efe4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/frontend/components/encryption.cljs

+ 1 - 1
src/main/frontend/components/encryption.cljs

@@ -14,7 +14,7 @@
   [*show-password?]
   [:div.flex.flex-row.items-center
    [:label.px-1 {:for "show-password"}
-    (ui/checkbox {:checked?  @*show-password?
+    (ui/checkbox {:checked   @*show-password?
                   :on-change (fn [e]
                                (reset! *show-password? (util/echecked? e)))
                   :id        "show-password"})