bug(COMPONENT): chip with autocomplete does not clear the input field after adding new chip #30339
Labels
area: material/chips
docs
This issue is related to documentation
P4
A relatively minor issue that is not relevant to core functions
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When combining chips with the autocomplete component the input field isn't cleared between each entry. Despite setting the input fields value to a empty string at the end of my function that is invoked by the optionSelected event.
Reproduction
StackBlitz link: https://stackblitz.com/edit/2qghuqyq?file=src%2Fexample%2Fchips-autocomplete-example.ts
(stackblitz fetched from the Chips Autocomplete example at https://material.angular.io/components/chips/examples)
Steps to reproduce:
Expected Behavior
After clicking an item from the autocomplete list the input field should be cleared
Actual Behavior
The value in the input field is unchanged
Environment
The text was updated successfully, but these errors were encountered: