diff --git a/src/MatBlazor/Components/MatAutocomplete/BaseMatAutocomplete.cs b/src/MatBlazor/Components/MatAutocomplete/BaseMatAutocomplete.cs index 88b43fdd..83c44dfb 100644 --- a/src/MatBlazor/Components/MatAutocomplete/BaseMatAutocomplete.cs +++ b/src/MatBlazor/Components/MatAutocomplete/BaseMatAutocomplete.cs @@ -231,6 +231,15 @@ protected async void OnKeyDownHandler(object sender, KeyboardEventArgs ev) currentIndex--; wasCurrentIndexChanged = true; } + if (ev.Key == "Backspace") + { + currentIndex = 0; + wasCurrentIndexChanged = true; + } + if (ev.Key == "Tab") + { + return; + } if (wasCurrentIndexChanged) { await ListRef.SetSelectedIndex(currentIndex);