Skip to content

Commit 9e3064f

Browse files
committed
refactor: 更改泛型约束
1 parent cf26091 commit 9e3064f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/AutoComplete/PopoverCompleteBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public abstract class PopoverCompleteBase<TValue> : BootstrapInputBase<TValue>,
9696
/// 获得/设置 候选项模板 默认 null
9797
/// </summary>
9898
[Parameter]
99-
public RenderFragment<string>? ItemTemplate { get; set; }
99+
public RenderFragment<TValue>? ItemTemplate { get; set; }
100100

101101
/// <summary>
102102
/// 获得 是否跳过 ESC 按键字符串

0 commit comments

Comments
 (0)