Sha256: 0bb57a59b87862af339974e548fb0a30faa0b36c9ed13b90e6b62fe8b86078e0

Contents?: true

Size: 285 Bytes

Versions: 687

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

687 entries across 687 versions & 2 rubygems

Version Path
playbook_ui_docs-14.8.0.pre.alpha.PLAY1658tanstackbump4657 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.8.0.pre.alpha.PLAY1658tanstackbump4657 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui_docs-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.html.erb