Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Web/Hyperbole/HyperView/Forms.hs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ input ft = do
checkbox :: forall id a. Bool -> View (Input id a) ()
checkbox isChecked = do
inp :: Input id a <- viewId
tag "input" @ att "type" "checkbox" . name inp.inputName.value $ none @ checked isChecked
tag "input" @ att "type" "checkbox" . checked isChecked . name inp.inputName.value $ none


-- NOTE: Radio is a special type of selection different from list type or
Expand Down