I want to add additional classes to the checkboxes in a collection rendered with collection_check_boxes. According to the documentation, "Other options [than :label, :hide_label, :help] will be forwarded to the radio_button/check_box method".
But the class is not added to the checkboxes within the collection.
Digging into the code, the option is present in the call to BootstrapForm::Inputs::InputsCollection#inputs_collection. But BootstrapForm::FormGroupBuilder#form_group_builder filters :label_class (amongst others) from options and this filtered options leak into the calling method. Or is this intended?
Release used: 4.2.0
I want to add additional classes to the checkboxes in a collection rendered with
collection_check_boxes. According to the documentation, "Other options [than:label,:hide_label,:help] will be forwarded to theradio_button/check_box method".But the class is not added to the checkboxes within the collection.
Digging into the code, the option is present in the call to
BootstrapForm::Inputs::InputsCollection#inputs_collection. ButBootstrapForm::FormGroupBuilder#form_group_builderfilters:label_class(amongst others) from options and this filtered options leak into the calling method. Or is this intended?Release used: 4.2.0