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

This commit is contained in:
Andelf
2022-11-30 12:42:10 +08:00
committed by Tienson Qin
parent db5156d24e
commit 3e374efe4e

View File

@@ -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"})