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

I need to return two fields and put in two diferent inputs #147

Open lbauchwitz opened 6 years ago

lbauchwitz commented 6 years ago

Hello, I use inputAutocomplete, to search in a Collection called Sales, to return a field Product.name. I need, that the autocomplete search, return two fields, in this case, Product.name and Product.img (contains an url for the image of this product), and put this field in another input text. Of course i can create another helper but for that, i need to do another search. Can meteor-autocomplete can return two fields, and can i put one field in one inputAutocomplete, and the other field in another input? Thanks

Leonardo