Sha256: 2776a98b1d82ba9d629133efb8b23f96bbd664562a51d579d2b57231a7f36202

Contents?: true

Size: 1004 Bytes

Versions: 25

Compression:

Stored size: 1004 Bytes

Contents

<div
  data-controller="multiple-select-filter"
  data-filter-name="<%= filter.name %>"
  data-multiple-select-filter-keep-filters-panel-open-value="<%= @resource.keep_filters_panel_open %>"
>
  <%= filter_wrapper name: filter.name do %>
    <%= select_tag filter.id, options_for_select(filter.options.invert, filter.selected_value(@applied_filters)),
      class: input_classes('w-full mb-0'),
      multiple: true,
      id: "avo_filters_#{filter.id.parameterize.underscore}",
      'data-filter-class': filter.class.to_s,
      'data-multiple-select-filter-target': 'selector'
    %>
    <div class="flex justify-end">
      <%= a_button class: 'mt-4', color: :primary, size: :xs, data: { action: "multiple-select-filter#changeFilter" } do %>
        Filter by <%=filter.name %>
      <% end %>
    </div>
    <%= link_to 'url_redirect', request.url, data: { 'multiple-select-filter-target': 'urlRedirect', 'turbo-frame': params[:turbo_frame] }, style: 'hidden', class: 'hidden' %>
  <% end %>
</div>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
avo-2.21.1.pre.pr1476 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.21.1.pre.issue1450 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.21.1.pre.issue1444 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.20.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.19.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.18.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.18.1.pre.1.eagerloaddirs app/views/avo/base/_multiple_select_filter.html.erb
avo-2.18.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.1.pre.5.stackedlayout app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.1.pre.4.issue.1342 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.1.pre.3 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.1.pre.2.customauthorizationclients app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.1.pre.1.zeitwerk.eager.load.dir app/views/avo/base/_multiple_select_filter.html.erb
avo-2.17.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.16.1.pre.1.nativefields app/views/avo/base/_multiple_select_filter.html.erb
avo-2.16.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.15.3 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.15.3.pre.1.data.attrs.to.sidebar.items app/views/avo/base/_multiple_select_filter.html.erb
avo-2.15.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.15.2.pre.1 app/views/avo/base/_multiple_select_filter.html.erb