feat(EditDialog): add IsAsync on save button (#7237)

* feat(EditDialog): add IsAsync on save button

* chore: bump version 10.1.1-beta01
This commit is contained in:
Argo Zhang
2025-12-03 12:12:35 +08:00
committed by GitHub
parent 307072469c
commit 9fdd344f24
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>10.1.0</Version>
<Version>10.1.1-beta01</Version>
</PropertyGroup>
<ItemGroup>

View File

@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License
// See the LICENSE file in the project root for more information.
// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
@@ -156,6 +156,7 @@ public partial class EditDialog<TModel>
builder.AddAttribute(32, nameof(Button.Icon), SaveButtonIcon);
builder.AddAttribute(33, nameof(Button.Text), SaveButtonText);
builder.AddAttribute(34, nameof(Button.ButtonType), ButtonType.Submit);
builder.AddAttribute(35, nameof(Button.IsAsync), true);
builder.CloseComponent();
}
};