@if (required()) { * } @if (label()) { {{ label() }} }
@if (!searchable() || multiple()) {
@for (option of selectOptions(); track option[valueKey()]) { }
} @else {
@if (virtualScroll()) {
} @else {
@for (option of filteredComboboxOptions(); track option.id ?? option.value; let i = $index) {
}
}
}
@if (formControl.invalid) { {{ formControl.getError('error') }} }
@if (_explicitContent) { } @else { @if (option.icon) { } }