Sha256: 807c2ad994470d14a7178944fafbd8dd3a6245ec78d76c974b4da2250946045d
Contents?: true
Size: 963 Bytes
Versions: 61
Compression:
Stored size: 963 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <div class="pb_typeahead_wrapper"> <div class="pb_typeahead_loading_indicator" data-pb-typeahead-kit-loading-indicator> <i class="far fa-spinner fa-spin"></i> </div> <%= pb_rails("text_input", props: { type: "search", label: object.label, name: object.name, value: object.value, placeholder: object.placeholder, dark: object.dark }) %> <%= pb_rails("list", props: { ordered: false, dark: false, borderless: false, xpadding: true, role: "status", aria: { live: "polite" }, data: { pb_typeahead_kit_results: true } }) do %> <% end %> </div> <template data-pb-typeahead-kit-result-option> <%= pb_rails("list/item") do %> <button type="button" data-result-option-item><%= tag(:slot, name: :content) %></button> <% end %> </template> <% end %>
Version data entries
61 entries across 61 versions & 1 rubygems