</ng-container>
<ng-container *ngIf="t.op !== '__in'">
<div *ngIf="t.field.endsWith(':state') && (t.op === '' || t.op === '__not'); else notStateField">
- <select class="form-control" [ngModelOptions]="{standalone: true}" [(ngModel)]="t.value1">
- <option i18n value="new">New</option>
- <option i18n *ngIf="!t.field.startsWith('acqpo')" value="selector-ready">Selector-Ready</option>
- <option i18n *ngIf="!t.field.startsWith('acqpo')" value="order-ready">Order-Ready</option>
- <option i18n *ngIf="!t.field.startsWith('acqpo')" value="approved">Approved</option>
- <option i18n *ngIf="t.field.startsWith('acqpo')" value="pending">Pending</option>
- <option i18n *ngIf="!t.field.startsWith('acqpo')" value="pending-order">Pending-Order</option>
- <option i18n value="on-order">On-Order</option>
- <option i18n value="received">Received</option>
- <option i18n value="cancelled">Cancelled</option>
- </select>
+ <eg-combobox *ngIf="t.op != '__fuzzy'"
+ [asyncSupportsEmptyTermClick]="true"
+ [idlClass]="searchFieldLinkedClasses[t.field]"
+ [selectedId]="t.value1"
+ (onChange)="t.value1 = $event ? $event.id : ''">
+ </eg-combobox>
</div>
<ng-template #notStateField>
<input [ngModelOptions]="{standalone: true}" [(ngModel)]="t.value1" type="text" *ngIf="searchTermDatatypes[t.field] == 'id'" class="form-control" />
</ng-container>
<ng-container *ngIf="searchFieldLinkedClasses[t.field] !== 'acqpro'">
<eg-combobox
+ [asyncSupportsEmptyTermClick]="t.field.endsWith('cancel_reason') || t.field.endsWith(':claim_policy') || t.field.endsWith('_method')"
[idlClass]="searchFieldLinkedClasses[t.field]"
[selectedId]="t.value1"
(onChange)="t.value1 = $event ? $event.id : ''">