} id="{{ id }}"{% endif %}
            {%- if name is defined and name %} name="{{ name }}[]"{% endif %}
            {%- if autofocus is defined and autofocus and not craft.app.request.isMobileBrowser(true) %} autofocus{% endif %}
            {%- if disabled is defined and disabled %} disabled{% endif %}
            {%- if size is defined %} size="{{ size }}"{% endif %}>
        {%- for key, option in options %}
            {% if option.optgroup is defined %}
                {% if hasOptgroups %}
          