Skip to content

ifSearching doesn't seem to work #644

Open
@Shelagh-Lewins

Description

@Shelagh-Lewins

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions