Sha256: e6a5ed50f2dc7cc607d6237d5ace7b36c77f59f9f908024f2d00e509f6298a13

Contents?: true

Size: 838 Bytes

Versions: 890

Compression:

Stored size: 838 Bytes

Contents

<%
  labels = [
    { label: 'Verve', value: '1956' },
    { label: 'Stax', value: '1957' },
    { label: 'Motown', value: '1959' },
    { label: 'Kudu', value: '1971' },
    { label: 'Stones Throw', value: '1996' },
  ]
%>
<%
  expressionists = [
    { label: 'Kandinsky', value: 'Russia' },
    { label: 'Klee', value: 'Switzerland' },
    { label: 'Kokoschka', value: 'Austria' },
    { label: 'Kirchner', value: 'Germany' },
  ]
%>

<%= pb_rails("typeahead", props: {
  default_options: [labels.first],
  id: "typeahead-multi-kit-example1",
  options: labels,
  label: "Badges",
  multi_kit: "badge",
  pills: true
}) %>

<%= pb_rails("typeahead", props: {
  default_options: [expressionists.first],
  id: "typeahead-multi-kit-example2",
  options: expressionists,
  label: "Small Pills",
  multi_kit: "smallPill",
  pills: true
}) %>

Version data entries

890 entries across 890 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb