From 3576ce6a8cabb65de7748e14cb83783aa1d9a502 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 28 Feb 2025 15:35:20 +0800 Subject: [PATCH 1/2] fix(SelectObject): remove IsRequired override method --- src/BootstrapBlazor/Components/Select/SelectObject.razor.cs | 6 ------ src/BootstrapBlazor/Components/Select/SelectTable.razor.cs | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/BootstrapBlazor/Components/Select/SelectObject.razor.cs b/src/BootstrapBlazor/Components/Select/SelectObject.razor.cs index bdb0eb63790..927c5e3016b 100644 --- a/src/BootstrapBlazor/Components/Select/SelectObject.razor.cs +++ b/src/BootstrapBlazor/Components/Select/SelectObject.razor.cs @@ -180,12 +180,6 @@ protected override void OnParametersSet() ClearIcon ??= IconTheme.GetIconByKey(ComponentIcons.SelectClearIcon); } - /// - /// - /// - /// - protected override bool IsRequired() => ValidateForm != null; - private bool GetClearable() => IsClearable && !IsDisabled; /// diff --git a/src/BootstrapBlazor/Components/Select/SelectTable.razor.cs b/src/BootstrapBlazor/Components/Select/SelectTable.razor.cs index 4c56b889ffd..190b4d08221 100644 --- a/src/BootstrapBlazor/Components/Select/SelectTable.razor.cs +++ b/src/BootstrapBlazor/Components/Select/SelectTable.razor.cs @@ -265,12 +265,6 @@ protected override void OnParametersSet() ClearIcon ??= IconTheme.GetIconByKey(ComponentIcons.SelectClearIcon); } - /// - /// - /// - /// - protected override bool IsRequired() => ValidateForm != null; - /// /// 获得 Text 显示文字 /// From 472cb6c1969932033df564029cfa0a8d864828ff Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 28 Feb 2025 15:35:52 +0800 Subject: [PATCH 2/2] chore: bump version 9.4.2 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 4b2514aa5e5..b420c7850d6 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 9.4.1 + 9.4.2