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

ifSearching doesn't seem to work #644

Open
Shelagh-Lewins opened this issue Mar 15, 2019 · 2 comments
Open

ifSearching doesn't seem to work #644

Shelagh-Lewins opened this issue Mar 15, 2019 · 2 comments

Comments

@Shelagh-Lewins
Copy link

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!

@matteodem matteodem reopened this Sep 19, 2021
@matteodem
Copy link
Owner

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

@Shelagh-Lewins
Copy link
Author

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

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