Sha256: ee497d63be5dbfb5a34bee819e9e73a21fab6302a2e9e0daa532a8f47a7bd1c8

Contents?: true

Size: 335 Bytes

Versions: 131

Compression:

Stored size: 335 Bytes

Contents

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

        only_on Avo.configuration.resource_default_view

        super(id, **args, &block)
      end

      def view_component_name
        "HasManyField"
      end
    end
  end
end

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
avo-3.14.3 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.14.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.14.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.14.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.7 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.6 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.5 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.4 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.3 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.2 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.1 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.13.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.12.0 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.10 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.9 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.8 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.7 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.6 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.5 lib/avo/fields/has_and_belongs_to_many_field.rb
avo-3.11.4 lib/avo/fields/has_and_belongs_to_many_field.rb