Skip to content

MatAutocompleteTrigger optionSelections Observable stops working #14777

Closed
@l10rdev

Description

@l10rdev

What is the expected behavior?

The AutocompleteTrigger.optionSelections Observable emits the value of the selected Element (and the counter increases).

What is the current behavior?

The AutocompleteTrigger.optionSelections Observable does not emit a new value.

What are the steps to reproduce?

https://stackblitz.com/edit/autocomplete-force-selection-4cyhez?file=app%2Fapp.component.ts

  1. Type 'Material' in the autocomplete field
  2. Delete it.
  3. Type 'Ma'
  4. Select 'Mary'

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

  • Angular Material: 7.21, 5,2,5 .

Is there anything else we should know?

This is also true for other AutocompleteTrigger Observables like panelClosingActions.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/autocomplete

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions