Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 109 forks source link

autocompete not displaying #136

Closed ketankulkarni closed 7 years ago

ketankulkarni commented 7 years ago

html code -

js code - import '../lib/collections/member.js'; Router.route('/','autoComplete');

Template.autoComplete.helpers({ settings : function() { return { position: 'bottom', limit: 2, rules: [ { collection: Member, field: 'name', token:'@', matchAll: true, template: Template.titles, } ] }; } });

ketankulkarni commented 7 years ago

when i change the name of collection to Meteor.users or Meteor.members, then autocomplete displayes but not matching records found