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.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.5.2.pre.7 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.5.2.pre.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.5.2.pre.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.5.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.5.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.4.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.4.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.6 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.5 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.4 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.3 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.1.pre.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.3.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.2.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.2.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.2.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.1.2.pre2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-2.1.2.pre1 lib/avo/fields/has_and_belongs_to_many_field.rb