meteor-easy-search
meteor-easy-search copied to clipboard
ifSearching doesn't seem to work
Hi, I can't get ifSearching to work either with single or multiple indexes. Here's my template, based on the docs and examples:
{{> EasySearch.Input indexes=indexes attributes=attributes timeout=500 noDocumentsOnEmpty=true}}
{{#EasySearch.IfSearching indexes=indexes }}
<div>Searching</div>
{{/EasySearch.IfSearching }}
And in my js:
Template.searchBox.helpers({
'usersIndex': () => UsersIndex,
'patternsIndex': () => PatternsIndex,
'indexes': () => [UsersIndex, PatternsIndex],
});
The search function works but the ifSearching text never appears.
I've tried using index=usersIndex, and that doesn't work either.
I'm using Meteor 1.6.1
Any idea why it's not working? Thanks!
Do you have a repository for reproduction? Or has the issue been resolved?
Hi, no, I was working on this a couple of years ago. I don't think I ever got this particular feature to work.