!1621 feat(#I41UHU): toolbar on table compatible bs5

* chore: bump version to 5.2.5
* fix: 修复 Table 组件搜索按钮工具栏未适配 bs5 问题
This commit is contained in:
Argo 2021-07-21 15:03:21 +00:00
parent accafea5a7
commit 139b9e0327
2 changed files with 13 additions and 15 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>5.2.4</Version>
<Version>5.2.5</Version>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">

View File

@ -107,21 +107,19 @@
<BootstrapInput class="table-toolbar-search" placeholder="@SearchPlaceholderText" @bind-Value="@SearchText">
<Tooltip Placement="Placement.Top" Title="@SearchTooltip" IsHtml="true" />
</BootstrapInput>
<div class="input-group-append">
<Button Color="@Color.Secondary" Icon="fa fa-search" OnClickWithoutRender="@SearchClick">
<span class="d-none d-sm-inline-block">@SearchButtonText</span>
<Button Color="@Color.Secondary" Icon="fa fa-search" OnClickWithoutRender="@SearchClick">
<span class="d-none d-sm-inline-block">@SearchButtonText</span>
</Button>
@if (ShowResetSearch)
{
<Button Color="@Color.Secondary" Icon="fa fa-trash" OnClickWithoutRender="@ClearSearchClick">
<span class="d-none d-sm-inline-block">@ResetSearchButtonText</span>
</Button>
@if (ShowResetSearch)
{
<Button Color="@Color.Secondary" Icon="fa fa-trash" OnClickWithoutRender="@ClearSearchClick">
<span class="d-none d-sm-inline-block">@ResetSearchButtonText</span>
</Button>
}
@if (ShowAdvancedSearch)
{
@RenderAdvanceSearchButton
}
</div>
}
@if (ShowAdvancedSearch)
{
@RenderAdvanceSearchButton
}
</div>
}
else if (ShowAdvancedSearch)