We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5f192 commit 563774dCopy full SHA for 563774d
src/BootstrapBlazor.Server/Components/Samples/Searches.razor
@@ -39,7 +39,6 @@
39
Introduction="@Localizer["SearchesItemTemplateIntro"]"
40
Name="ItemTemplate">
41
<Search PlaceHolder="@Localizer["SearchesPlaceHolder"]"
42
- OnGetDisplayText="GetDisplayText"
43
OnSearch="@OnSearchFoo">
44
<ItemTemplate>
45
<div>@context.Name</div>
src/BootstrapBlazor.Server/Components/Samples/Searches.razor.cs
@@ -54,8 +54,6 @@ private Task<IEnumerable<string>> OnKeyboardSearch(string searchText)
54
55
private Foo Model { get; set; } = new Foo() { Name = "" };
56
57
- private static string? GetDisplayText(Foo foo) => foo.Name;
58
-
59
private static async Task<IEnumerable<Foo>> OnSearchFoo(string searchText)
60
{
61
await Task.Delay(100);
0 commit comments