<div class="checkbox"> <input value="false" type="hidden" name="meal[completed]"> <input class="boolean optional" type="checkbox" value="true" checked="checked" name="meal[completed]" id="meal_completed"> <label class="boolean optional" for="meal_completed">Completed</label> </div>Update: This bug only appears if you have custom value for `unchecked_value`. In this case `unchecked_value: false` #1835
Example
= f.input :completed, as: :boolean, checked_value: true, unchecked_value: false
_Originally posted by @ryanfelton in https://github.com/heartcombo/simple_form/issues/1320#issuecomment-156133817_