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

Unable to search multiple collections without tokens #126

Closed wceolin closed 2 years ago

wceolin commented 8 years ago

I was trying the default implementation but, apparently, it's not possible to search multiple collections without setting up token values:

rules: [
        {
          collection: testA,
          field: "title",
          template: Template.testA
        },
        {
          collection: testB,
          field: "title",
          template: Template.testB
        }
      ]

If I set some token values, then it works fine. Is there any workaround for this?