{% load common_extras %}{% comment %} Reusable styled select dropdown — see the `ui_select` inclusion tag docstring. Bind `model` to a property in the enclosing x-data scope (array if `multiple`, else string). The panel is position:fixed so an overflow toolbar can't clip it. Expressions that reference `model` live in Alpine DIRECTIVES (x-text / :class / @click), which resolve via the scope chain — NOT in x-data methods, whose plain JS body can't see the parent scope. {% endcomment %}
{% include "components/_filter_icon.html" with name=icon %}
{% for opt in options %} {% if multiple %} {% else %} {% endif %} {% endfor %}