Sha256: 545c377f0db27876d17e470fa78c02f480c44b9af996c1f9c3213247331992ee

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

module TaoForm
  module Components
    module Select
      class ListComponent < TaoOnRails::Components::Base

        attr_reader :search_placeholder

        def initialize view, options = {}
          super view, options
          @search_placeholder = @options.delete(:search_placeholder)
        end

        def self.component_name
          :select_list
        end

        private

        def default_options
          {class: 'tao-select-list select-list'}
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tao_form-1.0.0.beta.2 lib/tao_form/components/select/list_component.rb