Sha256: e2c76b1990c32bc553326527f8ac8fbc3ec73bf8590c232e770f9a4b0d6bf724

Contents?: true

Size: 979 Bytes

Versions: 364

Compression:

Stored size: 979 Bytes

Contents

<%
  options = [
    { label: "Orange", value: "Orange" },
    { label: "Red", value: "Red" },
    { label: "Green", value: "Green" },
    { label: "Blue", value: "Blue" },
  ]
%>

<%= pb_rails("radio", props: {
  custom_children: true,
  label: "Select",
  margin_bottom: "sm",
  name: "Group1",
  value: "Select",
}) do %>
  <%= pb_rails("select", props: {
    min_width: "xs",
    options: options,
  }) %>
<% end %>

<%= pb_rails("radio", props: {
  custom_children: true,
  label: "Typeahead",
  margin_bottom: "sm",
  name: "Group1",
  value: "Typeahead",
}) do %>
  <%= pb_rails("typeahead", props: {
      id: "typeahead-radio",
      is_multi: false,
      min_width: "xs",
      options: options,
      placeholder: "Select...",
    })
  %>
<% end %>

<%= pb_rails("radio", props: {
  custom_children: true,
  label: "Typography",
  name: "Group1",
  value: "Typography",
}) do %>
  <%= pb_rails("title", props: {
      text: "Custom Typography",
    })
  %>
<% end %>

Version data entries

364 entries across 364 versions & 2 rubygems

Version Path
playbook_ui_docs-14.5.0.pre.alpha.PBNTR600reactfilterdisplayzeroresults4068 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PBNTR600reactfilterdisplayzeroresults4068 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PLAY15814066 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PLAY15814066 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PBNTR568dropdowncleaning4044 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PBNTR568dropdowncleaning4044 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PBNTR568dropdowncleaning4041 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PBNTR568dropdowncleaning4041 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PLAY15814040 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PLAY15814040 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.6.0.pre.rc.13 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.6.0.pre.rc.13 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4037 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4037 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.20241007playbookwebsiteaddrdbms4036 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.20241007playbookwebsiteaddrdbms4036 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PBNTR606multilevelselectreset4035 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PBNTR606multilevelselectreset4035 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4032 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
playbook_ui_docs-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4028 app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb