Sha256: 5e06352fd046ff90feb402365543886f0bc79d3ffff22f85b5e0571bb665b419

Contents?: true

Size: 1.79 KB

Versions: 1578

Compression:

Stored size: 1.79 KB

Contents

<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>

  <% treeData = [{
  label: "Power Home Remodeling",
  value: "Power Home Remodeling",
  id: "powerhome1",
  expanded: true,
  children: [
    {
      label: "People",
      value: "People",
      id: "people1",
      children: [
        {
          label: "Talent Acquisition",
          value: "Talent Acquisition",
          id: "talent1",
        },
        {
          label: "Business Affairs",
          value: "Business Affairs",
          id: "business1",
          children: [
            {
              label: "Initiatives",
              value: "Initiatives",
              id: "initiative1",
            },
            {
              label: "Learning & Development",
              value: "Learning & Development",
              id: "development1",
            },
          ],
        },
        {
          label: "People Experience",
          value: "People Experience",
          id: "experience1",
        },
      ],
    },
    {
      label: "Contact Center",
      value: "Contact Center",
      id: "contact1",
      children: [
        {
          label: "Appointment Management",
          value: "Appointment Management",
          id: "appointment1",
        },
        {
          label: "Customer Service",
          value: "Customer Service",
          id: "customer1",
        },
        {
          label: "Energy",
          value: "Energy",
          id: "energy1",
        },
      ],
    },
  ],
}] %>

  <%= form.multi_level_select :example, props: {id: "with-form-multi-level-select", tree_data: treeData, return_all_selected: true, margin_bottom: "sm" } %>
  <%= form.actions do |action| %>
    <%= action.button props: { type: "submit", text: "Submit", variant: "primary", margin_top: "lg" } %>
  <% end %>   
<% end %>

Version data entries

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

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