{# Filter Dropdown Component Params: options: array (required for select) — [{ value: string, label: string }] placeholder: string (optional, default: 'Tous') name: string (optional, default: 'filter') selected: string (optional) stimulus_target: string (optional) — e.g. 'fournisseurFilter' stimulus_action: string (optional) — e.g. 'change->mercuriale-hub#onFilterChange' type: string (optional, default: 'select') — select|date class: string (optional) #} {% set _type = type|default('select') %} {% set _name = name|default('filter') %}
{% if _type == 'date' %} {% else %} {% endif %}