Skip to content

Commit 9b9fd75

Browse files
authored
docs(material/chips): remove unused field in the autocomplete example (#22958)
1 parent 9027d83 commit 9b9fd75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components-examples/material/chips/chips-autocomplete/chips-autocomplete-example.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {COMMA, ENTER} from '@angular/cdk/keycodes';
22
import {Component, ElementRef, ViewChild} from '@angular/core';
33
import {FormControl} from '@angular/forms';
4-
import {MatAutocompleteSelectedEvent, MatAutocomplete} from '@angular/material/autocomplete';
4+
import {MatAutocompleteSelectedEvent} from '@angular/material/autocomplete';
55
import {MatChipInputEvent} from '@angular/material/chips';
66
import {Observable} from 'rxjs';
77
import {map, startWith} from 'rxjs/operators';
@@ -25,7 +25,6 @@ export class ChipsAutocompleteExample {
2525
allFruits: string[] = ['Apple', 'Lemon', 'Lime', 'Orange', 'Strawberry'];
2626

2727
@ViewChild('fruitInput') fruitInput: ElementRef<HTMLInputElement>;
28-
@ViewChild('auto') matAutocomplete: MatAutocomplete;
2928

3029
constructor() {
3130
this.filteredFruits = this.fruitCtrl.valueChanges.pipe(

0 commit comments

Comments
 (0)