1
0
mirror of synced 2024-11-24 06:50:15 +01:00

Re-enable rows per page options

This commit is contained in:
shiibe 2022-09-15 11:59:40 -04:00
parent 6d46eeb624
commit 44ba2e7229
2 changed files with 4 additions and 4 deletions

View File

@ -41,16 +41,16 @@
</MudTh>
<MudTh>
<MudTableSortLabel SortBy="@(new Func<Title, object>(x => x.TitleName))">
Name
Title
</MudTableSortLabel>
</MudTh>
</HeaderContent>
<RowTemplate>
<MudTd DataLabel="Id" Class="cursor-pointer">@context.TitleId</MudTd>
<MudTd DataLabel="Name" Class="cursor-pointer">@context.TitleName</MudTd>
<MudTd DataLabel="Title" Class="cursor-pointer">@context.TitleName</MudTd>
</RowTemplate>
<PagerContent>
<MudTablePager PageSizeOptions="new []{10}"/>
<MudTablePager />
</PagerContent>
</MudTable>
<MudText Class="mt-4 d-block" Typo="Typo.caption"><b>Selected Title:</b> @selectedTitle?.TitleName</MudText>

View File

@ -24,7 +24,7 @@
<MudItem xs="12" md="8">
<MudTextField @bind-Value="@response.Title" Label="Title"/>
<MudButton Color="Color.Primary" Class="mt-1" Size="Size.Small" OnClick="@((e)=>OpenChooseTitleDialog())">
Choose a built in title
Select a Title
</MudButton>
</MudItem>
<MudItem xs="12" md="4">