Sha256: 96d5d85e7bacc666d4da24ab43fa1eb10225d46b01f93cb9d5d29f10485090bb

Contents?: true

Size: 289 Bytes

Versions: 176

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

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

      def initialize(input:)
        @input = input
        @input.add_input_classes("FormField-input")
      end
    end
  end
end

Version data entries

176 entries across 176 versions & 2 rubygems

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