Sha256: e6e1709abf7b24540283fd2790932e1bc251bc01ef3cae44a934071cef015d3a

Contents?: true

Size: 358 Bytes

Versions: 18

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.52.2 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.36.4 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.52.1 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.52.0 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.36.3 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.51.0 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.36.2 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.50.1 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.50.0 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.36.1 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.36.0 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.49.2 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.35.2 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.49.1 app/lib/primer/forms/radio_button_group.rb
openproject-primer_view_components-0.49.0 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.35.1 app/lib/primer/forms/radio_button_group.rb
primer_view_components-0.35.0 app/lib/primer/forms/radio_button_group.rb