matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
438 stars 68 forks source link

Autosuggest ignores noDocumentsOnEmpty #566

Closed stefanve closed 7 years ago

stefanve commented 7 years ago

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 commented 7 years ago

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

matteodem commented 7 years ago

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

matteodem commented 7 years ago

this is related to #417

matteodem commented 7 years ago

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

stefanve commented 7 years ago

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

matteodem commented 7 years ago

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