meteor-easy-search icon indicating copy to clipboard operation
meteor-easy-search copied to clipboard

ifSearching doesn't seem to work

Open Shelagh-Lewins opened this issue 5 years ago • 2 comments

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!

Shelagh-Lewins avatar Mar 15 '19 12:03 Shelagh-Lewins

Do you have a repository for reproduction? Or has the issue been resolved?

matteodem avatar Sep 19 '21 13:09 matteodem

Hi, no, I was working on this a couple of years ago. I don't think I ever got this particular feature to work.

Shelagh-Lewins avatar Sep 19 '21 18:09 Shelagh-Lewins