Sha256: 5e3b5b422ac7e6ead108524d977a1de1b7ca47e8e8ea4e2480a19184d67c6a42

Contents?: true

Size: 682 Bytes

Versions: 1824

Compression:

Stored size: 682 Bytes

Contents

<%
  options = [
    { label: 'Windows', value: '#FFA500' },
    { label: 'Siding', value: '#FF0000' },
    { label: 'Doors', value: '#00FF00' },
    { label: 'Roofs', value: '#0000FF' },
  ]

%>

<%= pb_rails("typeahead", props: { id: "typeahead-error-example", options: options, error: "Please make a valid selection", label: "Products", name: :foo, is_multi: false }) %>

<!-- This section is an example of the available JavaScript event hooks -->
<%= javascript_tag defer: "defer" do %>
  document.addEventListener("pb-typeahead-kit-typeahead-error-example-result-option-select", function(event) {
    console.log('Option selected')
    console.dir(event.detail)
  })
<% end %>

Version data entries

1,824 entries across 1,824 versions & 2 rubygems

Version Path
playbook_ui_docs-14.12.0.pre.alpha.testingwithfas5689 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.testingwithfas5689 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.testingwithfas5686 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.testingwithfas5686 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.play1828updateviteversion5680 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.play1828updateviteversion5680 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5673 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5673 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5655 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5655 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PBNTR720railscarddraggable5649 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR720railscarddraggable5649 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5646 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5646 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR440enableglobalpropspbformwith5624 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR440enableglobalpropspbformwith5624 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.12.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui-14.12.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb