Sha256: a138a717f3cbed8e19f7dd88cc3a5261961bb22b854132b6c221d01ad9d3a82e

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

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

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

    register :multi_selection_field, MultiSelectionField
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
formalist-0.5.0 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.4.2 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.4.1 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.4.0 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.3.0 lib/formalist/elements/standard/multi_selection_field.rb
formalist-0.2.3 lib/formalist/elements/standard/multi_selection_field.rb