Sha256: 5084b91b97222ecaf4e5d6d9b6b9ed12f31dd847e4bca81101660f638b76cb09

Contents?: true

Size: 322 Bytes

Versions: 55

Compression:

Stored size: 322 Bytes

Contents

module Avo
  module Fields
    class HasAndBelongsToManyField < HasBaseField
      def initialize(id, **args, &block)
        args[:updatable] = false

        super(id, **args, &block)

        hide_on :all
        show_on :show
      end

      def view_component_name
        "HasManyField"
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
avo-1.25.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.1.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.1.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.0.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.25.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.24.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.24.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.24.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.23.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.4 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.3 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.1.pre.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.1.pre.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.22.0.pre.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.21.1.pre.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.21.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-1.20.2.pre.2 lib/avo/fields/has_and_belongs_to_many_field.rb