Sha256: ce2017ffea09c90915b8e241ec7fba01879b687c2dc51e09248920bdd2434a9a

Contents?: true

Size: 1.14 KB

Versions: 598

Compression:

Stored size: 1.14 KB

Contents

<%=
  pb_rails("filter", props: {
    min_width: "360px",
    id: "pla",
    filters: [
      { name: "name", value: "John Wick" }
    ],
    placement: "right",
    template:"filter_only",
  }) do
%>
  <%
   example_collection = [
      OpenStruct.new(name: "USA", value: 1),
      OpenStruct.new(name: "Canada", value: 2),
      OpenStruct.new(name: "Brazil", value: 3),
      OpenStruct.new(name: "Philippines", value: 4),
      OpenStruct.new(name: "A galaxy far far away...", value: 5)
    ]
  %>
  <%= pb_rails("form", props: { form_system_options: { scope: :example, method: :get } }) do |form| %>
    <%= form.text_field :example_text_field, props: { label: true } %>
    <%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>

    <%= form.actions do |action| %>
      <%= action.submit props: {
        text: "Apply",
        data: {
          disable_with: "pb_rails('icon', props: { icon: 'spinner', spin: true, fixed_width: true })Searching...".html_safe
      },}%>
      <%= action.button props: { type: "reset", text: "Clear", variant: "secondary" } %>
    <% end %>
  <% end %>
<% end %>

Version data entries

598 entries across 598 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb