Skip to content

Commit 8fe72a5

Browse files
authored
feat(TableCellPopConfirmButton): support IsAsync parameter (dotnetcore#6569)
* feat: support IsAsync parameter * chore: bump version 9.9.2-beta01
1 parent b035658 commit 8fe72a5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.9.1</Version>
4+
<Version>9.9.2-beta01</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Table/TableExtensionButton.razor

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
case TableCellButton { IsShow: true } b:
1212
<Button AdditionalAttributes="b.AdditionalAttributes" Size="b.Size"
1313
Color="@b.Color" Icon="@b.Icon" Text="@b.Text" IsAsync="@b.IsAsync"
14-
TooltipText="@b.TooltipText" TooltipPlacement="@b.TooltipPlacement" TooltipTrigger="@b.TooltipTrigger"
15-
ChildContent="@b.ChildContent"
14+
TooltipText="@b.TooltipText" TooltipPlacement="@b.TooltipPlacement"
15+
TooltipTrigger="@b.TooltipTrigger" ChildContent="@b.ChildContent"
1616
OnClickWithoutRender="() => OnClick(b)" IsDisabled="b.IsDisabled"></Button>
1717
break;
1818
case TableCellPopConfirmButton { IsShow: true } pb:
1919
<PopConfirmButton AdditionalAttributes="pb.AdditionalAttributes"
20-
Color="@pb.Color" Icon="@pb.Icon" Text="@pb.Text" Size="pb.Size" ShowShadow="@pb.ShowShadow"
21-
IsDisabled="@pb.IsDisabled" IsBlock="@pb.IsBlock" IsOutline="@pb.IsOutline"
20+
Color="@pb.Color" Icon="@pb.Icon" Text="@pb.Text" IsAsync="@pb.IsAsync"
21+
Size="pb.Size" ShowShadow="@pb.ShowShadow" IsDisabled="@pb.IsDisabled"
22+
IsBlock="@pb.IsBlock" IsOutline="@pb.IsOutline"
2223
OnBeforeClick="@pb.OnBeforeClick" OnClose="@pb.OnClose" OnConfirm="() => OnClickConfirm(pb)"
2324
ConfirmIcon="@pb.ConfirmIcon" ConfirmButtonColor="@pb.ConfirmButtonColor"
2425
ConfirmButtonText="@pb.ConfirmButtonText" CloseButtonColor="@pb.CloseButtonColor"

0 commit comments

Comments
 (0)