Skip to content

Commit 58c81ee

Browse files
committed
feat: support IsAsync parameter
1 parent 3ddbf27 commit 58c81ee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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)