Skip to content

Commit

Permalink
Merge pull request #119 from DennisvHest/117-clear-button-in-search-f…
Browse files Browse the repository at this point in the history
…ield

Added clear buttons to search fields
  • Loading branch information
DennisvHest committed Jan 21, 2024
2 parents 1b9ebdd + f8d7974 commit 0c8ae31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions MapMaven/Components/Maps/MapBrowser.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<MudTextField @bind-Value="SearchString"
DebounceInterval="300"
Immediate="true"
Clearable="true"
Placeholder="Search map name, song author, map author..."
Variant="Variant.Outlined"
Adornment="Adornment.Start"
Expand Down
2 changes: 2 additions & 0 deletions MapMaven/Components/Playlists/PlaylistList.razor
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<MudTextField @bind-Value="PlaylistSearchText"
DebounceInterval="300"
Immediate="true"
Clearable="true"
Variant="Variant.Outlined"
Adornment="Adornment.Start"
AdornmentIcon="@Icons.Material.Filled.Search"
Expand Down Expand Up @@ -65,6 +66,7 @@
<MudTextField @bind-Value="DynamicPlaylistSearchText"
DebounceInterval="300"
Immediate="true"
Clearable="true"
Variant="Variant.Outlined"
Adornment="Adornment.Start"
AdornmentIcon="@Icons.Material.Filled.Search"
Expand Down
1 change: 1 addition & 0 deletions MapMaven/Components/Playlists/PlaylistSelector.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<MudTextField @bind-Value="PlaylistSearchText"
DebounceInterval="300"
Immediate="true"
Clearable="true"
Variant="Variant.Outlined"
Adornment="Adornment.Start"
AdornmentIcon="@Icons.Material.Filled.Search"
Expand Down
2 changes: 2 additions & 0 deletions MapMaven/Components/Settings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<img src="@LeaderboardUtility.GetLogoPath(LeaderboardProvider.ScoreSaber)" style="width: 24px;" class="mr-3" />
<MudTextField @bind-Value="ScoreSaberPlayerId"
DebounceInterval="300"
Clearable="true"
Variant="Variant.Outlined"
Label="ScoreSaber player ID / URL (optional)">
</MudTextField>
Expand All @@ -38,6 +39,7 @@
<img src="@LeaderboardUtility.GetLogoPath(LeaderboardProvider.BeatLeader)" style="width: 24px;" class="mr-3" />
<MudTextField @bind-Value="BeatLeaderPlayerId"
DebounceInterval="300"
Clearable="true"
Variant="Variant.Outlined"
Label="BeatLeader player ID / URL (optional)">
</MudTextField>
Expand Down

0 comments on commit 0c8ae31

Please sign in to comment.