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

Can't get the server side search sample to work #125

Open
derwaldgeist opened this issue Oct 26, 2015 · 4 comments
Open

Can't get the server side search sample to work #125

derwaldgeist opened this issue Oct 26, 2015 · 4 comments

Comments

@derwaldgeist
Copy link

When the page loads, exactly one call to the search handler is being made -- but an invalid one with all parameters set to undefined. This happens even without any user input.

If I then enter something into the field, nothing happens. It seems as if the event handlers are broken.

@davidworkman9
Copy link

+1. I just noticed this has stopped working in my application. Downgrading doesn't seem to help. Is this related to Meteor v1.2?

@yegorov-p
Copy link

same problem

@yegorov-p
Copy link

And found the solution. According to #121 event names were synced with typeahead docs, so you should use data-select="selected" instead of data-selected="selected"

@sergeyt
Copy link
Owner

sergeyt commented Nov 13, 2015

FYI you also need to define Meteor.methods on client side. Meteor generates internal stubs for them in order to RPC them.

janat08 pushed a commit to janat08/meteor-typeahead that referenced this issue Apr 12, 2018
Removes 'required' CSS class from tt-hint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants