Sha256: 73655f533132db4e382c75fe706af4cc1437e9df249368b431673826acc84776

Contents?: true

Size: 666 Bytes

Versions: 5

Compression:

Stored size: 666 Bytes

Contents

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

module Formalist
  class Elements
    class SearchSelectionField < Field
      attribute :selector_label, Types::String
      attribute :render_option_as, Types::String
      attribute :render_option_control_as, Types::String
      attribute :render_selection_as, Types::String
      attribute :search_url, Types::String
      attribute :search_per_page, Types::Integer
      attribute :search_params, Types::Hash
      attribute :search_threshold, Types::Integer
      attribute :selection, Types::Hash
    end

    register :search_selection_field, SearchSelectionField
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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