{% load i18n %}
{% comment %}
Multi-select: checkbox + label. JS in change_list.html collects checked `data-value`s and builds the `?field=v1,v2,v3` URL on Apply click.
{% endcomment %}
{% comment %}
Title is set by APIFilter.__init__: idle filters show the true total
count ("userId (10000)"), selected filters show only the field name
because selected values are rendered as tags.
{% endcomment %}
{{ title }}
{% if spec.is_multi %}
{% for value in spec.selected_preview_values %}
{{ value }}
{% endfor %}
{% if spec.selected_overflow_count %}
+{{ spec.selected_overflow_count }}
{% endif %}
{% endif %}