Hi!
I want to do a autocomplete input so I use the package: https://github.com/mizzao/meteor-autocomplete. I want to have all username of DB but when I use Meteor.users I have only the username of the user connected. I need a Collection with usernames:
js.
Template.foo.helpers({
settings: function() {
return {
position: “down”,
limit: 8,
rules: [
{
collection: Meteor.users, //It is the problem
field: “username”,
template: Template.userPill
}
]
};
}
});
Sorry for my english,
Thanks!