@if (active()) { }
@if (selected) { @if (multiple()) { } @else { } } @let optionSelected = isSelected(option.value()); @if (showSearch()) {
}
@if (!multiple()) { @let allSelected = isSelected(clearValue); } @for (entry of entries(); track $index) { @if (asSection(entry); as section) { @if (sectionVisible(section)) { @if (section.collapsible()) { } @else {
{{ section.label() }}
} @if (section.open()) { @for (option of section.options(); track option.value()) { @if (optionVisible(option)) { } } } } } @else if (asOption(entry); as option) { @if (optionVisible(option)) { } } } @if (noResults()) {
{{ "noMatchingItems" | i18n }}
}
@if (multiple() && active()) {
}