material
material copied to clipboard
md-autocomplete: escape behavior in 0.10.1-rc2
In 0.10.0 and 0.10.1rc1, hitting escape after typing something into the autocomplete box will clear the search text from the box. This has changed in 0.10.1-rc2 and is now broken.
Here is the demo md-autocomplete using rc2.
- Type something into the search box that returns results
- Hit escape key
- Issue 1: The suggestion dropdown will dismiss, but the text that was entered into the search box does not clear and remains unchanged
- Issue 2 (because of issue 1 not clearing): Clicking away from the box and back into the box does not display the suggestion dropdown again; you have to start typing or deleting from the search box to get the suggestions to pop up again.
Possibly related to https://github.com/angular/material/issues/3844, but looks like separate issues.