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

Autosuggest ignores noDocumentsOnEmpty #566

Closed
stefanve opened this issue Dec 6, 2016 · 6 comments
Closed

Autosuggest ignores noDocumentsOnEmpty #566

stefanve opened this issue Dec 6, 2016 · 6 comments

Comments

@stefanve
Copy link

stefanve commented Dec 6, 2016

I have a simple EasySearch.Autosuggest and when I click it, it displays the result for "", so it fills the drop down. That is not very cute, I would like it that they have to type at least one character before it reacts. The "event" argument is also ignored, so I can not force them to press enter or check for a keystroke.

Any ideas how I can go about this?

@stefanve
Copy link
Author

stefanve commented Dec 6, 2016

By the way, the template named:
'EasySarch.Autogguest.DefaultRenderSuggestion'
is that as intended? "sarch"? "autogguest"?

@matteodem
Copy link
Owner

That's a naming error. feel free to submit a PR for it.

@matteodem
Copy link
Owner

this is related to #417

matteodem added a commit that referenced this issue Jun 23, 2017
…-empty

Respect noDocumentsOnEmpty for autosuggest, fixes #566
@matteodem
Copy link
Owner

This is fixed in latest version 2.2.1 after nearly half a year 😅

@stefanve
Copy link
Author

Great! I'm sorry, I guess I should have been more active here but I made a workaround and forgot about it :)

@matteodem
Copy link
Owner

no problem, hopefully this provides a stable solution to your workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants