{"action":"created","issue":{"url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/131","repository_url":"https://api.github.com/repos/podio/jquery-mentions-input","labels_url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/131/comments","events_url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/131/events","html_url":"https://github.com/podio/jquery-mentions-input/pull/131","id":69547260,"number":131,"title":"Add support for a default value on input","user":{"login":"fneves","id":647255,"avatar_url":"https://avatars.githubusercontent.com/u/647255?v=3","gravatar_id":"","url":"https://api.github.com/users/fneves","html_url":"https://github.com/fneves","followers_url":"https://api.github.com/users/fneves/followers","following_url":"https://api.github.com/users/fneves/following{/other_user}","gists_url":"https://api.github.com/users/fneves/gists{/gist_id}","starred_url":"https://api.github.com/users/fneves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fneves/subscriptions","organizations_url":"https://api.github.com/users/fneves/orgs","repos_url":"https://api.github.com/users/fneves/repos","events_url":"https://api.github.com/users/fneves/events{/privacy}","received_events_url":"https://api.github.com/users/fneves/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-20T09:33:10Z","updated_at":"2016-06-14T04:50:20Z","closed_at":"2015-04-20T15:14:48Z","pull_request":{"url":"https://api.github.com/repos/podio/jquery-mentions-input/pulls/131","html_url":"https://github.com/podio/jquery-mentions-input/pull/131","diff_url":"https://github.com/podio/jquery-mentions-input/pull/131.diff","patch_url":"https://github.com/podio/jquery-mentions-input/pull/131.patch"},"body":"This PR adds support for a default value on the textarea.\r\n\r\nUsage example:\r\n\r\n```javascript\r\n('textarea.mention').mentionsInput({\r\n  defaultValue: 'This is the default value',\r\n  onDataRequest: function (mode, query, callback) {\r\n    var data = [\r\n      { id:1, name:'Kenneth Auchenberg', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' },\r\n      { id:2, name:'Jon Froda', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' },\r\n      { id:3, name:'Anders Pollas', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' },\r\n      { id:4, name:'Kasper Hulthin', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' },\r\n      { id:5, name:'Andreas Haugstrup', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' },\r\n      { id:6, name:'Pete Lacey', 'avatar':'http://cdn0.4dots.com/i/customavatars/avatar7112_1.gif', 'type':'contact' }\r\n    ];\r\n\r\n    data = _.filter(data, function(item) { return item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 });\r\n\r\n    callback.call(this, data);\r\n  }\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/comments/225779311","html_url":"https://github.com/podio/jquery-mentions-input/pull/131#issuecomment-225779311","issue_url":"https://api.github.com/repos/podio/jquery-mentions-input/issues/131","id":225779311,"user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T04:50:20Z","updated_at":"2016-06-14T04:50:20Z","body":"possibly because it was never released ... @djhvscf can you tag a new version please ?"}}
{"actor":{"display_login":"grosser"}}