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
Using collection_check_boxes inside a form is fine, but if you want to use them outside of a form, it is convenient to be able to use the :form option.
For now, I am using include_hidden: false and <%= hidden_field_tag 'search[parent_ids][]', {}, form: 'myform' %> to work around the problem.
Let me know if there's any additional information needed.
The text was updated successfully, but these errors were encountered:
hidden field generated from
collection_check_boxes
ignoresform:
ashtml_options
Steps to reproduce
Expected behavior
Actual behavior
Probably the same problem as #12344
System configuration
Rails version: 7.1.3.2
Ruby version: 3.3.0
Using
collection_check_boxes
inside a form is fine, but if you want to use them outside of a form, it is convenient to be able to use the:form
option.For now, I am using
include_hidden: false
and<%= hidden_field_tag 'search[parent_ids][]', {}, form: 'myform' %>
to work around the problem.Let me know if there's any additional information needed.
The text was updated successfully, but these errors were encountered: