diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor.cs b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor.cs index 4d08c04..d8f6e14 100644 --- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor.cs +++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor.cs @@ -28,10 +28,12 @@ public partial class SearchInput private async Task HandleClearClicked() { Text = string.Empty; + await TextChanged.InvokeAsync(string.Empty); await ClearClicked.InvokeAsync(); } private async Task HandleSearchClicked() { + await TextChanged.InvokeAsync(Text); await SearchClicked.InvokeAsync(); } } \ No newline at end of file diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Select/MultipleSelectList.razor b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Select/MultipleSelectList.razor index 8a5b730..92856da 100644 --- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Select/MultipleSelectList.razor +++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Select/MultipleSelectList.razor @@ -8,7 +8,7 @@ Icon="SearchInputIcon.Dropdown" TextChanged="HandleTextChanged" ClearClicked="HandleTextChanged" - SearchClicked="Open" /> + SearchClicked="Toggle" />