Sha256: de46d5f5ae10f89609b5e0c940e027d91bc1ca898f974f1b57114897dd44ae14

Contents?: true

Size: 816 Bytes

Versions: 14

Compression:

Stored size: 816 Bytes

Contents

<div
  data-controller="select-filter"
  data-filter-name="<%= filter.name %>"
  data-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.applied_or_default_value(@applied_filters)),
      class: input_classes('w-full mb-0'),
      include_blank: '—',
      id: "avo_filters_#{filter.id.parameterize.underscore}",
      'data-filter-class': filter.class,
      'data-select-filter-target': 'selector',
      'data-action': "change->select-filter#changeFilter"
    %>
    <%= link_to 'url_redirect', request.url, data: { 'select-filter-target': 'urlRedirect', 'turbo-frame': params[:turbo_frame] }, style: 'hidden', class: 'hidden' %>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
avo-2.7.1.pre.1 app/views/avo/base/_select_filter.html.erb
avo-2.7.0 app/views/avo/base/_select_filter.html.erb
avo-2.6.1.pre.2 app/views/avo/base/_select_filter.html.erb
avo-2.6.1.pre.1 app/views/avo/base/_select_filter.html.erb
avo-2.6.0 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.7 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.6 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.5 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.4 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.3 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.2 app/views/avo/base/_select_filter.html.erb
avo-2.5.2.pre.1 app/views/avo/base/_select_filter.html.erb
avo-2.5.1 app/views/avo/base/_select_filter.html.erb
avo-2.5.0 app/views/avo/base/_select_filter.html.erb