问题 I'm trying to create a simple form with a dynamic number of mat-autocomplete fields. However, in some cases, the inputs' displayed values get lost . Component's script export class AutocompleteSimpleExample { availableItems = [{name: 'item1'}, {name: 'item2'}]; items = [{name: 'item1'}, {}]; addItem() { this.items.push({}); } deleteItem(i: number) { this.items.splice(i, 1); } displayObject(obj) { return obj ? obj.name : null; } } Component's view <form> <mat-form-field *ngFor="let item of