Skip to content

Commit 3576ce6

Browse files
committed
fix(SelectObject): remove IsRequired override method
1 parent ac2ac31 commit 3576ce6

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/BootstrapBlazor/Components/Select/SelectObject.razor.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ protected override void OnParametersSet()
180180
ClearIcon ??= IconTheme.GetIconByKey(ComponentIcons.SelectClearIcon);
181181
}
182182

183-
/// <summary>
184-
/// <inheritdoc/>
185-
/// </summary>
186-
/// <returns></returns>
187-
protected override bool IsRequired() => ValidateForm != null;
188-
189183
private bool GetClearable() => IsClearable && !IsDisabled;
190184

191185
/// <summary>

src/BootstrapBlazor/Components/Select/SelectTable.razor.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,6 @@ protected override void OnParametersSet()
265265
ClearIcon ??= IconTheme.GetIconByKey(ComponentIcons.SelectClearIcon);
266266
}
267267

268-
/// <summary>
269-
/// <inheritdoc/>
270-
/// </summary>
271-
/// <returns></returns>
272-
protected override bool IsRequired() => ValidateForm != null;
273-
274268
/// <summary>
275269
/// 获得 Text 显示文字
276270
/// </summary>

0 commit comments

Comments
 (0)