Sha256: 09d50eb7a4219c9e4738c1ba411546bd187a7b89821c03e235758bd92d56ef6c

Contents?: true

Size: 370 Bytes

Versions: 40

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Satis
  module InputArray
    class Component < Satis::ApplicationComponent
      attr_reader :form, :attribute, :options

      def initialize(form:, attribute:, **options)
        super

        @form = form
        @attribute = attribute
        @options = options
        options[:input_html] ||= {}
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
satis-2.1.47 app/components/satis/input_array/component.rb
satis-2.1.46 app/components/satis/input_array/component.rb
satis-2.1.45 app/components/satis/input_array/component.rb
satis-2.1.44 app/components/satis/input_array/component.rb
satis-2.1.43 app/components/satis/input_array/component.rb
satis-2.1.42 app/components/satis/input_array/component.rb
satis-2.1.41 app/components/satis/input_array/component.rb
satis-2.1.40 app/components/satis/input_array/component.rb
satis-2.1.39 app/components/satis/input_array/component.rb
satis-2.1.38 app/components/satis/input_array/component.rb
satis-2.1.37 app/components/satis/input_array/component.rb
satis-2.1.36 app/components/satis/input_array/component.rb
satis-2.1.35 app/components/satis/input_array/component.rb
satis-2.1.33 app/components/satis/input_array/component.rb
satis-2.1.31 app/components/satis/input_array/component.rb
satis-2.1.30 app/components/satis/input_array/component.rb
satis-2.1.29 app/components/satis/input_array/component.rb
satis-2.1.28 app/components/satis/input_array/component.rb
satis-2.1.27 app/components/satis/input_array/component.rb
satis-2.1.26 app/components/satis/input_array/component.rb