Sha256: e04635f25b8ce3bfc476f7742a336b38c2c5e3ca68ae0868b36457adf41722d8

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.65 app/components/ariadne/form/hidden_field/component.rb
ariadne_view_components-0.0.64 app/components/ariadne/form/hidden_field/component.rb