{% comment %} MD3 outlined "exposed dropdown menu" field (pilot widget for the MD3 pass). The outline is a real
/ so the label notch is a true gap in the border — works over any background (glass drawers included) with no background-color patch behind the label. A native and its options (groups included), marks the chosen one by value and follows HTML's rule for the required attribute. Any hx_* option reaches the control; the htmx settings are written only when it makes a request (hx_get, hx_post, hx_put, hx_patch, hx_delete). {% endcomment %} {% load phoxtail_core_tags %}
{% widget field class="phx-field__control" htmx=htmx %} {% if show_label != False and label != "" %} {% endif %}
{% if supporting == "errors" %}
{% for error in field.errors %}{{ error }}{% endfor %}
{% elif supporting == "help" %}
{{ help_text|default:field.help_text }}
{% endif %}