Open qrobin opened 8 years ago
I try to add this nice plugin to my app. Works well, except one thing - I must reload page to let typeahead see newly added values. Values in my app are taken from collection using this function:
Template.registerHelper("opts", function () { return Places.find({}, { fields: { location: true } }).map(function (it) { return {value: it.location}; }) });
And as helper they go here:
{{> afQuickField name="location" label="Location" type="typeahead" options=opts}}
Maybe there is any way to fix that? Thanks!
feature request: reactive options
same problem,, i am storing data in session for options
This would be a really nice addition. I looked at it, and concluded that I'm too retarded to implement this myself.
I try to add this nice plugin to my app. Works well, except one thing - I must reload page to let typeahead see newly added values. Values in my app are taken from collection using this function:
And as helper they go here:
Maybe there is any way to fix that? Thanks!