Sha256: 2bb1bd6f516676a4a93908416f97a3c542eb524cba34d477b9eee98aefba2783

Contents?: true

Size: 412 Bytes

Versions: 10

Compression:

Stored size: 412 Bytes

Contents

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

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

    register :selection_field, SelectionField
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
formalist-0.5.4 lib/formalist/elements/standard/selection_field.rb
formalist-0.5.3 lib/formalist/elements/standard/selection_field.rb
formalist-0.5.2 lib/formalist/elements/standard/selection_field.rb
formalist-0.5.1 lib/formalist/elements/standard/selection_field.rb
formalist-0.5.0 lib/formalist/elements/standard/selection_field.rb
formalist-0.4.2 lib/formalist/elements/standard/selection_field.rb
formalist-0.4.1 lib/formalist/elements/standard/selection_field.rb
formalist-0.4.0 lib/formalist/elements/standard/selection_field.rb
formalist-0.3.0 lib/formalist/elements/standard/selection_field.rb
formalist-0.2.3 lib/formalist/elements/standard/selection_field.rb