Sha256: 188257146ec871818751b130741e29583c19d749462e4ddd1aa8d588ca0640ec

Contents?: true

Size: 422 Bytes

Versions: 53

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

module UiBibz::Ui::Core::Forms::Surrounds
  class SurroundCheckboxField < UiBibz::Ui::Core::Forms::Choices::CheckboxField
    # See UiBibz::Ui::Core::Dropdown.initialize

    private

    def component_html_options
      { label: false }
    end

    def component_wrapper_html_classes
      inline
    end

    def component_html_classes
      super << 'input-group-text'
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ui_bibz-3.0.0.beta4 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.beta3 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.beta2 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.beta1 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha12 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha11 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha10 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha9 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha8 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha6 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha5 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha3 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-3.0.0.alpha2 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb