enhance: use radix checkbox globally

This commit is contained in:
Tienson Qin
2024-03-11 21:40:32 +08:00
parent 83e4560a1a
commit d119a15229
10 changed files with 36 additions and 34 deletions

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 {:value @*show-password?
:on-change (fn [e]
(reset! *show-password? (util/echecked? e)))
:id "show-password"})