Closed ironbull45 closed 5 years ago
This is error in the .cs file on line 110:
Hey, I managed to solve it by changing the code (Your Typeahead.razor file) into following:
private IEnumerable<Film> Films;
private async Task<IEnumerable<Film>> SearchFilms(string searchText)
{
return await Task<IEnumerable<Film>>.FromResult(Films.Where(x => x.Title.ToLower().Contains(searchText.ToLower())).ToList());
}
}
@ironbull45
Thank you. I saw that in the original comments as well.
I used the example found here: https://chrissainty.com/getting-started-with-blazored-typeahead/
During compile, I received the following errors:
The razor component doesn't show any errors until compile time.