Sha256: f3c6abdefd851835fdf213cce2ab62a74f699f3a34695af877bd1b9ed9f8502f

Contents?: true

Size: 363 Bytes

Versions: 61

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Primer
  module Forms
    # :nodoc:
    class CheckBoxGroup < BaseComponent
      delegate :builder, :form, to: :@input

      def initialize(input:)
        @input = input
        @input.add_label_classes("FormControl-label", "mb-2")
        Primer::Forms::Utils.classify(@input.input_arguments)
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.48.2 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.48.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.48.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.47.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.47.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.34.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.46.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.46.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.45.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.44.3 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.44.2 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.44.1 lib/primer/forms/check_box_group.rb
primer_view_components-0.33.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.44.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.43.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.43.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.32.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.42.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.31.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.41.1 lib/primer/forms/check_box_group.rb