Meteor-Community-Packages / Meteor-Community-Packages/meteor-autocomplete

having a hard time structuring

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
350
Forks
106
PR merge metrics
No merged PRs in 30d

Description

I am trying to retrieve the users that are participating in a discussion.
Here is the structure of my post

```
post = {
commentors: {
{
_id : "someid",
username : "someusername"
},
{
_id : "someid",
username : "someusername"
},
}
}
```

I would like to retrive the username in the dropdown. How would I do this?

Right now I have this.

```
settings: function () {
return {
position: "bottom",
limit: 5,
rules: [
{
token: '@',
collection: Posts,
field: "commentors",
template: Template.usernameTag
}
]
};
}
```

Contributor guide

Open the contributing guide

Research direction

The issue includes only a settings function and an example post structure; it names no file, test, or concrete repository change. Start by tracing the shown collection and field configuration, then determine whether the requested username dropdown behavior is supported; done is a documented, reproducible change request with a clear expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.