{"action":"created","issue":{"url":"https://api.github.com/repos/monterail/vue-multiselect/issues/154","repository_url":"https://api.github.com/repos/monterail/vue-multiselect","labels_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/154/comments","events_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/154/events","html_url":"https://github.com/monterail/vue-multiselect/issues/154","id":191985219,"number":154,"title":"Vue 2 issue / doubt","user":{"login":"viraj-khatavkar","id":5693836,"avatar_url":"https://avatars.githubusercontent.com/u/5693836?v=3","gravatar_id":"","url":"https://api.github.com/users/viraj-khatavkar","html_url":"https://github.com/viraj-khatavkar","followers_url":"https://api.github.com/users/viraj-khatavkar/followers","following_url":"https://api.github.com/users/viraj-khatavkar/following{/other_user}","gists_url":"https://api.github.com/users/viraj-khatavkar/gists{/gist_id}","starred_url":"https://api.github.com/users/viraj-khatavkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viraj-khatavkar/subscriptions","organizations_url":"https://api.github.com/users/viraj-khatavkar/orgs","repos_url":"https://api.github.com/users/viraj-khatavkar/repos","events_url":"https://api.github.com/users/viraj-khatavkar/events{/privacy}","received_events_url":"https://api.github.com/users/viraj-khatavkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-28T11:44:30Z","updated_at":"2016-11-28T11:58:31Z","closed_at":null,"body":"Hey @shentao how do I get reactivity in place for Vue 2 version?\r\n\r\nI have a json array of options, something like:\r\n\r\n```javascript\r\n{\r\n    [\r\n        {\r\n            \"name\":\"master\"\r\n        },\r\n        {\r\n            \"name\":\"production\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nIn my Vue component's props, I have an option which is to be selected:\r\n\r\n```javascript\r\nselectedBranch: {\r\n    name: this.server.meta.deployment_branch\r\n},\r\n```\r\n\r\nI initially select the option as follows:\r\n\r\n```html\r\n<multiselect @input=\"updateDeploymentBranch\" :options=\"branches\" :value=\"selectedBranch\"\r\n```\r\n\r\nBut, when I update the `name` key of `selectedBranch` it doesn't get reflected in the UI"},"comment":{"url":"https://api.github.com/repos/monterail/vue-multiselect/issues/comments/263253531","html_url":"https://github.com/monterail/vue-multiselect/issues/154#issuecomment-263253531","issue_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/154","id":263253531,"user":{"login":"viraj-khatavkar","id":5693836,"avatar_url":"https://avatars.githubusercontent.com/u/5693836?v=3","gravatar_id":"","url":"https://api.github.com/users/viraj-khatavkar","html_url":"https://github.com/viraj-khatavkar","followers_url":"https://api.github.com/users/viraj-khatavkar/followers","following_url":"https://api.github.com/users/viraj-khatavkar/following{/other_user}","gists_url":"https://api.github.com/users/viraj-khatavkar/gists{/gist_id}","starred_url":"https://api.github.com/users/viraj-khatavkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viraj-khatavkar/subscriptions","organizations_url":"https://api.github.com/users/viraj-khatavkar/orgs","repos_url":"https://api.github.com/users/viraj-khatavkar/repos","events_url":"https://api.github.com/users/viraj-khatavkar/events{/privacy}","received_events_url":"https://api.github.com/users/viraj-khatavkar/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T11:58:31Z","updated_at":"2016-11-28T11:58:31Z","body":"At first, the desired option is selected properly. But, once I change the data property of `selectedBranch` the reactivity is not achieved in UI"}}
{"actor":{"display_login":"viraj-khatavkar"}}