Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] NotFoundTemplate is shown when input is empty instead of HelpTemplate #273

Open
alex47 opened this issue Apr 18, 2022 · 0 comments
Open
Labels
Bug Something isn't working Triage Issue needs to be triaged

Comments

@alex47
Copy link

alex47 commented Apr 18, 2022

Describe the bug
When the input text is empty the NotFoundTemplate is shown instead of the HelpTemplate.

Expected behavior
When the input text is less than the MinimumLength parameter the HelpTemplate is shown, even if the length is 0.

Screenshots
0 characters:
image

1 character:
image

The code:
image

Hosting Model (is this issue happening with a certain hosting model?):

  • Blazor Server

Additional context
MinimumLength is set to 3.
The SearchMethod parameter function returns an empty list if input text is empty.

@alex47 alex47 added Bug Something isn't working Triage Issue needs to be triaged labels Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant