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.41.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.40.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.30.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.39.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.39.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.38.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.29.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.28.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.37.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.37.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.36.2 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.36.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.36.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.27.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.35.2 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.35.1 lib/primer/forms/check_box_group.rb
primer_view_components-0.26.1 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.35.0 lib/primer/forms/check_box_group.rb
primer_view_components-0.26.0 lib/primer/forms/check_box_group.rb
openproject-primer_view_components-0.34.0 lib/primer/forms/check_box_group.rb