diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Games/Components/GameCreationForm.razor b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Games/Components/GameCreationForm.razor
index 02ae4db..f257949 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Games/Components/GameCreationForm.razor
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Games/Components/GameCreationForm.razor
@@ -56,6 +56,14 @@
Items="Categories?.Platforms" @bind-Values=GameDto.Platforms
AddItem="@(str => new PlatformDto() { Label = str })" />
+
+ @foreach (var platform in GameDto.Platforms ?? [])
+ {
+
+ }
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 3ee67df..2d151d5 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
@@ -39,9 +39,7 @@ public partial class SearchInput
}
private async Task HandleSearchClicked()
{
- await TextChanged.InvokeAsync(Text);
await SearchClicked.InvokeAsync();
- await InputText.FocusAsync();
}
private async Task HandleFocusIn()
{
diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/SelectSearch/SelectSearch.razor.cs b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/SelectSearch/SelectSearch.razor.cs
index 029f89d..bc2ac8e 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/SelectSearch/SelectSearch.razor.cs
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/SelectSearch/SelectSearch.razor.cs
@@ -35,12 +35,13 @@ public partial class SelectSearch
{
Values = values.ToList();
SearchInput?.SetText(string.Join(", ", Values.Select(GetLabel)));
- await ValuesChanged.InvokeAsync(values.ToList());
+ await ValuesChanged.InvokeAsync(Values.ToList());
}
- private void HandleClearClicked()
+ private async Task HandleClearClicked()
{
Values = [];
+ await ValuesChanged.InvokeAsync(Values.ToList());
}
private void HandleFocusIn()