You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When worked with builtin checkbox method + a model column, lucky will generate a hidden input element which use same name attribute value, like following:
Copied from #1903
When worked with builtin
checkbox method + a model column
, lucky will generate a hidden input element which use same name attribute value, like following:it work as expected.
When when work with htmx which not a form, like this:
I get following
params.body
when checkboxchecked
And get following when
unchecked
The issue is, on both cases, params.to_h always return
false
, like followingmy question is, how to get the
true
value ofis_marked
when request.body is"university%3Ais_marked=true&university%3Ais_marked=false"
?Thanks.
The text was updated successfully, but these errors were encountered: