We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thank you for awesome package. How could I use parameter in the data-source helper function. Some thing like this:
<input class="form-control typeahead" name="team" type="text" placeholder="NBA teams" autocomplete="off" spellcheck="off" data-source="(customerCodes code)" data-select="selected" data-render="rendered"/>
and the helper:
Template.myTemplate.helpers({ customerCodes: function(code) { return Customers.find({code: code}).fetch().map(function(it){ return {id: it._id, value: it.code}; }); } })
Thank you.
The text was updated successfully, but these errors were encountered:
Hi @leizard, I think you could just return all customer codes and typeahead input does the rest, since it is autocomplete input :)
Sorry, something went wrong.
Merge pull request sergeyt#154 from JonathanSeguin/master
f919ce8
Add autoselect option
No branches or pull requests
Hi, thank you for awesome package.
How could I use parameter in the data-source helper function. Some thing like this:
and the helper:
Thank you.
The text was updated successfully, but these errors were encountered: