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
14.2.7
Description
When an option is selected and then the value is cleared, the option in the dropdown menu is still marked as selected. This is not the same as V14.
Reproduction
Steps to reproduce:
- Navigate to the first official example (Highlight the first autocomplete option)
- Select "Three"
- Clear the value (Three) by pressing backspace
Expected Behavior
No option is selected, as it was in V14 (see picture below)
Actual Behavior
The option "Three" is still selected in the dropdown menu (see picture below)
Environment
Official demo (V15.2.2)
https://material.angular.io/components/autocomplete/examples