Meteor-Community-Packages / Meteor-Community-Packages/meteor-autocomplete
I need to return two fields and put in two diferent inputs
- Dominant language
- CoffeeScript
- Stars
- 350
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Research direction
Start with the inputAutocomplete configuration for the Sales collection and trace how Product.name is selected and inserted. Confirm whether one selection can expose Product.name and Product.img to separate inputs; done means both values populate without a second search.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100