{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/1115","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/1115/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/1115/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/1115/events","html_url":"https://github.com/vuejs/vue/issues/1115","id":98993188,"number":1115,"title":"Support object values in `v-model` for <select>","user":{"login":"jackmcdade","id":44739,"avatar_url":"https://avatars1.githubusercontent.com/u/44739?v=4","gravatar_id":"","url":"https://api.github.com/users/jackmcdade","html_url":"https://github.com/jackmcdade","followers_url":"https://api.github.com/users/jackmcdade/followers","following_url":"https://api.github.com/users/jackmcdade/following{/other_user}","gists_url":"https://api.github.com/users/jackmcdade/gists{/gist_id}","starred_url":"https://api.github.com/users/jackmcdade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackmcdade/subscriptions","organizations_url":"https://api.github.com/users/jackmcdade/orgs","repos_url":"https://api.github.com/users/jackmcdade/repos","events_url":"https://api.github.com/users/jackmcdade/events{/privacy}","received_events_url":"https://api.github.com/users/jackmcdade/received_events","type":"User","site_admin":false},"labels":[{"id":217551163,"url":"https://api.github.com/repos/vuejs/vue/labels/feature%20request","name":"feature request","color":"fbca04","default":false},{"id":49750490,"url":"https://api.github.com/repos/vuejs/vue/labels/intend%20to%20implement","name":"intend to implement","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-08-04T15:11:53Z","updated_at":"2017-11-04T11:25:40Z","closed_at":"2015-08-25T01:21:38Z","author_association":"NONE","body":"When using the `{text:'', value:''}` format for dynamic `<select>` options it becomes complex to get the `text` back out again for display since the `v-model` binds the `value`. One must then run a computed property and filter the `options` again and... you get the point.\n\nWould it be possible to to support a syntax like this?\n\n```\noptions: [\n  {this: 'This One'},\n  {that: 'That One'}\n]\n```\n\nWhich would then let us get that value back out like `this.options[this.selected]`. Just an idea. Feel free to say nay.\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/341889523","html_url":"https://github.com/vuejs/vue/issues/1115#issuecomment-341889523","issue_url":"https://api.github.com/repos/vuejs/vue/issues/1115","id":341889523,"user":{"login":"appsparkler","id":12084821,"avatar_url":"https://avatars0.githubusercontent.com/u/12084821?v=4","gravatar_id":"","url":"https://api.github.com/users/appsparkler","html_url":"https://github.com/appsparkler","followers_url":"https://api.github.com/users/appsparkler/followers","following_url":"https://api.github.com/users/appsparkler/following{/other_user}","gists_url":"https://api.github.com/users/appsparkler/gists{/gist_id}","starred_url":"https://api.github.com/users/appsparkler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsparkler/subscriptions","organizations_url":"https://api.github.com/users/appsparkler/orgs","repos_url":"https://api.github.com/users/appsparkler/repos","events_url":"https://api.github.com/users/appsparkler/events{/privacy}","received_events_url":"https://api.github.com/users/appsparkler/received_events","type":"User","site_admin":false},"created_at":"2017-11-04T11:25:40Z","updated_at":"2017-11-04T11:25:40Z","author_association":"NONE","body":"@ndabAP \r\n\r\nIt does work...\r\n\r\n\r\n```html\r\n<template id=\"my-temp\">\r\n\t<div>\r\n\t\t<h1>{{myProps.foo}}</h1>\r\n\t</div>\r\n</template>\r\n```\r\n\r\n```javascript\r\nVue.component('myComp', {\r\n\ttemplate:'#my-temp',\r\n\tprops: ['myProps'],\r\n})\r\n\r\n```html\r\n<my-temp my-props=\"{foo: 'bar'}\" ></my-temp>\r\n```\r\n\r\ngives the output of :\r\n\r\n```html\r\n<h1>bar</h1>\r\n```\r\n\r\nscreenshot:\r\n\r\n![image](https://user-images.githubusercontent.com/12084821/32404927-f821da58-c180-11e7-8e9d-0516c9a53c7e.png)\r\n\r\n\r\nGood Luck...\r\n"}}
{"actor":{"display_login":"appsparkler"}}