Skip to content

Commit

Permalink
feat: 增加 AutoResetWhenInvalid 参数
Browse files Browse the repository at this point in the history
  • Loading branch information
ArgoZhang committed Sep 27, 2024
1 parent 286f7c1 commit 8798549
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/BootstrapBlazor/Components/Upload/CardUpload.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ public partial class CardUpload<TValue>
[Parameter]
public bool IsUploadButtonAtFirst { get; set; }

/// <summary>
/// 获得/设置 上传非法时是否重置 默认 false
/// </summary>
[Parameter]
public bool AutoResetWhenInvalid { get; set; }

[Inject]
[NotNull]
private IIconTheme? IconTheme { get; set; }
Expand Down

0 comments on commit 8798549

Please sign in to comment.