I don't know where to put this thread sience there is no Forum dedicated to Blazor
Does anybody know where to start to make an Autocomplete searchbar with Blazor ?
Maybe use the html Datalist I don'k know
I looked to the documentation, buy I have no experience in making a search bar, I already started to understand a little bit about the event of the upkey
<input type="text" bind="@term" onkeyup="@search" />
@functions{
string term;
Concepto concepto = new Concepto();
private async Task search(UIKeyboardEventArgs e)
{
term += e.Key;
Console.WriteLine(term);
await http.GetJsonAsync<Concepto>("api/Conceptos/Search/" + term);
}
}