Open sangyoo91 opened 9 years ago
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 } ] }; }
I am trying to retrieve the users that are participating in a discussion. Here is the structure of my post
I would like to retrive the username in the dropdown. How would I do this?
Right now I have this.