Skip to content

Commit 9a7ad3b

Browse files
authored
fix: adjust to the latest auto-complete (#26)
1 parent 26e1365 commit 9a7ad3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AntDesign.Pro/Components/GlobalHeader/RightContent.razor.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ public partial class RightContent
1717
private NoticeIconData[] _events = { };
1818
private int _count = 0;
1919

20-
private List<AutoCompleteDataItem> DefaultOptions { get; set; } = new List<AutoCompleteDataItem>
20+
private List<AutoCompleteDataItem<string>> DefaultOptions { get; set; } = new List<AutoCompleteDataItem<string>>
2121
{
22-
new AutoCompleteDataItem
22+
new AutoCompleteDataItem<string>
2323
{
2424
Label = "umi ui",
2525
Value = "umi ui"
2626
},
27-
new AutoCompleteDataItem
27+
new AutoCompleteDataItem<string>
2828
{
2929
Label = "Pro Table",
3030
Value = "Pro Table"
3131
},
32-
new AutoCompleteDataItem
32+
new AutoCompleteDataItem<string>
3333
{
3434
Label = "Pro Layout",
3535
Value = "Pro Layout"

0 commit comments

Comments
 (0)