Skip to content

Commit

Permalink
Update Pager.razor
Browse files Browse the repository at this point in the history
Changing the ID had no effect and on further investigation the best way to achieve this is to use the form tag which is a lot stronger implementation.
  • Loading branch information
leigh-pointer committed Mar 2, 2024
1 parent 6babcf9 commit a8aac7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Oqtane.Client/Modules/Controls/Pager.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
@if (!string.IsNullOrEmpty(SearchProperties))
{
@* <form autocomplete="off"> *@
<form autocomplete="off">
<div class="input-group my-3">
<input type="text" autocomplete="off" id="search" class="form-control" placeholder=@string.Format(Localizer["SearchPlaceholder"], FormatSearchProperties()) @bind="@_search" />
<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> *@
</form>
}

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

0 comments on commit a8aac7e

Please sign in to comment.