Sha256: 9a35dbe16d208716945724cff7c8d60d3715226dba3d92ccee637ef2c9b3f1c6

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

module KonoUtils::Object::Cell::Forms::Fields # namespace
  #
  # Classe per la gestione del campo collection
  class Collection < Base

    # @return [Hash]
    def base_field_options
      super.merge(as: :select, collection: collection)
    end

    # @return [Array,Hash]
    def collection
      options.fetch(:collection, [])
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kono_utils_bootstrap_view4-0.1.0.pre.rc.3 app/concepts/kono_utils/object/cell/forms/fields/collection.rb
kono_utils_bootstrap_view4-0.1.0.pre.rc.2 app/concepts/kono_utils/object/cell/forms/fields/collection.rb
kono_utils_bootstrap_view4-0.1.0.pre.rc.1 app/concepts/kono_utils/object/cell/forms/fields/collection.rb