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
Currently it appears that when creating a single check box the hidden field that should be rendered automatically by the Rails #check_box helper we're wrapping isn't present in the output.
I'm not sure why this happens, if there's a good reason it's not (and not just a misconfiguration bug) then it's probably a good idea to add the hidden field in this library when multiple: false.
Currently it appears that when creating a single check box the hidden field that should be rendered automatically by the Rails
#check_box
helper we're wrapping isn't present in the output.I'm not sure why this happens, if there's a good reason it's not (and not just a misconfiguration bug) then it's probably a good idea to add the hidden field in this library when
multiple: false
.Currently this is kind of mitigated by a note in the guide, but that can definitely be improved 😅
= f.govuk_check_box(:awesome, true, multiple: false, label: -> { 'Awesome?' })
The text was updated successfully, but these errors were encountered: