Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
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:
- Enter a few characters to start filtering the autocomplete list
- Select an item on the list by using your mouse
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
- Angular: 19
- CDK/Material: 19
- Browser(s): Edge
- Operating System (e.g. Windows, macOS, Ubuntu): Linux (RHEL 8)