Sha256: 0c342e1d085ea3ab42c86c1d88d1d76f9aeeff5883dcad1d7c2dc7f395a6c34e

Contents?: true

Size: 510 Bytes

Versions: 4

Compression:

Stored size: 510 Bytes

Contents

require "formalist/element"
require "formalist/elements"
require "formalist/types"

module Formalist
  class Elements
    class MultiSelectionField < Field
      attribute :sortable, Types::Bool
      attribute :max_height, Types::String
      attribute :options, Types::SelectionsList
      attribute :render_option_as, Types::String
      attribute :render_selection_as, Types::String
      attribute :selector_label, Types::String
    end

    register :multi_selection_field, MultiSelectionField
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formalist-0.5.4 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.5.3 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.5.2 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.5.1 lib/formalist/elements/standard/multi_selection_field.rb