I\'m working with Angular Material\'s matAutocomplete component, and according to the docs, there is a method which can open/close an autocomplete panel with a openPanel()/c
in template
Open
in ts
@ViewChild(MatAutocompleteTrigger, {read: MatAutocompleteTrigger}) inputAutoComplete: MatAutocompleteTrigger; openPanel(evt): void { evt.stopPropagation(); this.inputAutoComplete.openPanel(); }