mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-08 07:27:44 +03:00
Use onCheck
This commit is contained in:
parent
e16e9d3d09
commit
bbc7cfc7b0
@ -271,7 +271,7 @@ viewCheckbox model config =
|
||||
[ Html.checkbox model.identifier
|
||||
(selectedToMaybe model.selected)
|
||||
[ Widget.label model.label
|
||||
, Events.onClick (model.setterMsg toggledValue)
|
||||
, Events.onCheck (\_ -> model.setterMsg toggledValue)
|
||||
, Attributes.id model.identifier
|
||||
, Attributes.disabled model.disabled
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user