Skip to content

Commit

Permalink
Merge pull request oqtane#3931 from leigh-pointer/autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwalker authored Mar 2, 2024
2 parents 7404aaf + a8aac7e commit 32e1ade
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Oqtane.Client/Modules/Controls/Pager.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
{
@if (!string.IsNullOrEmpty(SearchProperties))
{
<div class="input-group my-3">
<input id="search" class="form-control" placeholder=@string.Format(Localizer["SearchPlaceholder"], FormatSearchProperties()) @bind="@_search" />
<button type="button" class="btn btn-primary" @onclick="Search">@SharedLocalizer["Search"]</button>
<button type="button" class="btn btn-secondary" @onclick="Reset">@SharedLocalizer["Reset"]</button>
</div>
<form autocomplete="off">
<div class="input-group my-3">
<input type="text" id="pagersearch" class="form-control" placeholder=@string.Format(Localizer["SearchPlaceholder"], FormatSearchProperties()) @bind="@_search" />
<button type="button" class="btn btn-primary" @onclick="Search">@SharedLocalizer["Search"]</button>
<button type="button" class="btn btn-secondary" @onclick="Reset">@SharedLocalizer["Reset"]</button>
</div>
</form>
}

@if ((Toolbar == "Top" || Toolbar == "Both") && _pages > 0 && Items.Count() > _maxItems)
Expand Down

0 comments on commit 32e1ade

Please sign in to comment.