class SimpleForm::Inputs::CollectionCheckBoxesInput
Protected Instance Methods
build_nested_boolean_style_item_tag(collection_builder)
click to toggle source
# File lib/simple_form/inputs/collection_check_boxes_input.rb, line 13 def build_nested_boolean_style_item_tag(collection_builder) collection_builder.check_box + collection_builder.text.to_s end
has_required?()
click to toggle source
Checkbox components do not use the required html tag. More info: github.com/heartcombo/simple_form/issues/340#issuecomment-2871956
# File lib/simple_form/inputs/collection_check_boxes_input.rb, line 9 def has_required? false end
item_wrapper_class()
click to toggle source
# File lib/simple_form/inputs/collection_check_boxes_input.rb, line 17 def item_wrapper_class "checkbox" end