Closed
Description
Hy, I don't want to generate the hidden field when I create a custom check box with as: :boolean
option.
Is possibile to do something like this?
<%= f.input :my_custom_field_true, as: :boolean, include_hidden: false %>
Using the standard Rails check_box helper it works:
<%= f.check_box :my_custom_field_true, include_hidden: false %>
But I prefer to use simple form DSL.
Note: Rails 4 support include_hidden: false
option. Is possible to force simple form to use it?
Metadata
Assignees
Labels
No labels