Sha256: 76d57126e7ab8d1043846c55f2c426c6a46689f07d553d9354bf4ebdcedec5f0

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Ariadne
  module Form
    # :nodoc:
    module HiddenField
      class Component < Ariadne::Form::BaseInputComponent
        delegate :builder, :form, to: :@input

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.70 app/components/ariadne/form/hidden_field/component.rb
ariadne_view_components-0.0.69 app/components/ariadne/form/hidden_field/component.rb
ariadne_view_components-0.0.68 app/components/ariadne/form/hidden_field/component.rb
ariadne_view_components-0.0.67 app/components/ariadne/form/hidden_field/component.rb
ariadne_view_components-0.0.66 app/components/ariadne/form/hidden_field/component.rb