Updated tracking in template and choose customer fixing.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
[displayWith]="displayFn"
|
||||
(optionSelected)="selected($event)"
|
||||
>
|
||||
@for (customer of customers(); track customer) {
|
||||
@for (customer of customers(); track customer.id) {
|
||||
<mat-option [value]="customer">{{ customer.name }} - {{ customer.phone }}</mat-option>
|
||||
}
|
||||
</mat-autocomplete>
|
||||
|
||||
Reference in New Issue
Block a user