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 12
def build_nested_boolean_style_item_tag(collection_builder)
  collection_builder.check_box + collection_builder.text
end
has_required?() click to toggle source

Checkbox components do not use the required html tag. More info: github.com/plataformatec/simple_form/issues/340#issuecomment-2871956

# File lib/simple_form/inputs/collection_check_boxes_input.rb, line 8
def has_required?
  false
end
item_wrapper_class() click to toggle source
# File lib/simple_form/inputs/collection_check_boxes_input.rb, line 16
def item_wrapper_class
  "checkbox"
end