Sha256: e68d84b7705459d66ba82f055a7c2c58cd3901ea8247f7f56a20dcf652ea4793
Contents?: true
Size: 698 Bytes
Versions: 22
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTypeahead class Typeahead include Playbook::Props prop :label prop :name prop :value prop :placeholder prop :search_term_minimum_length, default: 3 prop :search_debounce_timeout, default: 250 partial "pb_typeahead/typeahead" def classname generate_classname("pb_typeahead_kit") end def data Hash(values[:data]).merge( pb_typeahead_kit: true, pb_typeahead_kit_search_term_minimum_length: search_term_minimum_length, pb_typeahead_kit_search_debounce_timeout: search_debounce_timeout, ) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems