@if (!editing && manyToOne) {
} @if (!editing && !manyToOne) {
}
@if (selectionModel.items) {
@for (item of selectionModel.itemsSorted | filter: filterText:'name'; track item; let i = $index) { @if (allowSelectNone || item.id) { } }
} @if (editing) { @if ((selectionModel.itemsSorted | filter: filterText:'name').length === 0 && createRef !== undefined) { } @if ((selectionModel.itemsSorted | filter: filterText:'name').length > 0) { } } @if (!editing && manyToOne) {
Click again to exclude items.
}