Просмотр исходного кода

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

Andelf 3 лет назад
Родитель
Сommit
3e374efe4e
1 измененных файлов с 1 добавлено и 1 удалено
  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"})