Sha256: e3ab7c5d356cd2db75510ee522b667380100308f3b2f3e417e7623aa9987aeb2

Contents?: true

Size: 280 Bytes

Versions: 97

Compression:

Stored size: 280 Bytes

Contents

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

        hide_on :all
        show_on Avo.configuration.resource_default_view

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

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
avo-2.53.0 lib/avo/fields/has_many_field.rb
avo-2.52.0 lib/avo/fields/has_many_field.rb
avo-2.49.0 lib/avo/fields/has_many_field.rb
avo-2.48.0 lib/avo/fields/has_many_field.rb
avo-2.47.0 lib/avo/fields/has_many_field.rb
avo-2.46.0 lib/avo/fields/has_many_field.rb
avo-2.45.0 lib/avo/fields/has_many_field.rb
avo-2.44.0 lib/avo/fields/has_many_field.rb
avo-2.43.0 lib/avo/fields/has_many_field.rb
avo-2.42.2 lib/avo/fields/has_many_field.rb
avo-2.42.1 lib/avo/fields/has_many_field.rb
avo-2.42.0 lib/avo/fields/has_many_field.rb
avo-2.41.0 lib/avo/fields/has_many_field.rb
avo-2.40.0 lib/avo/fields/has_many_field.rb
avo-2.39.0 lib/avo/fields/has_many_field.rb
avo-2.38.0 lib/avo/fields/has_many_field.rb
avo-2.37.2 lib/avo/fields/has_many_field.rb
avo-2.37.1 lib/avo/fields/has_many_field.rb
avo-2.37.0 lib/avo/fields/has_many_field.rb
avo-2.36.3 lib/avo/fields/has_many_field.rb