{% if widget.label and not is_multiwidget %}{% endif %}
{% for group_name, group_choices, group_index in widget.optgroups %}
{% if forloop.first %}
{{ group_name|default:group_choices.0.label }}
{% endif %}
{% endfor %}
{% include "material_widgets/widgets/material_select_nojs.html" with is_multiwidget=True %}