Sha256: 0bb57a59b87862af339974e548fb0a30faa0b36c9ed13b90e6b62fe8b86078e0

Contents?: true

Size: 285 Bytes

Versions: 960

Compression:

Stored size: 285 Bytes

Contents

<% 
  options = [
    { label: 'United States', value: 'United States', id: 'us' },
    { label: 'Canada', value: 'Canada', id: 'ca' },
    { label: 'Pakistan', value: 'Pakistan', id: 'pk' },
  ]

%>

<%= pb_rails("dropdown", props: {options: options, default_value: options.last}) %>

Version data entries

960 entries across 960 versions & 2 rubygems

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