{"action":"created","issue":{"url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/10","repository_url":"https://api.github.com/repos/TerryZ/v-selectmenu","labels_url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/10/comments","events_url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/10/events","html_url":"https://github.com/TerryZ/v-selectmenu/issues/10","id":361698389,"node_id":"MDU6SXNzdWUzNjE2OTgzODk=","number":10,"title":"add item problem","user":{"login":"halrequin","id":13730154,"node_id":"MDQ6VXNlcjEzNzMwMTU0","avatar_url":"https://avatars1.githubusercontent.com/u/13730154?v=4","gravatar_id":"","url":"https://api.github.com/users/halrequin","html_url":"https://github.com/halrequin","followers_url":"https://api.github.com/users/halrequin/followers","following_url":"https://api.github.com/users/halrequin/following{/other_user}","gists_url":"https://api.github.com/users/halrequin/gists{/gist_id}","starred_url":"https://api.github.com/users/halrequin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halrequin/subscriptions","organizations_url":"https://api.github.com/users/halrequin/orgs","repos_url":"https://api.github.com/users/halrequin/repos","events_url":"https://api.github.com/users/halrequin/events{/privacy}","received_events_url":"https://api.github.com/users/halrequin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T11:15:57Z","updated_at":"2018-09-19T11:59:46Z","closed_at":null,"author_association":"NONE","body":"my system setting is here:\r\n\r\n```\r\nvue.js version: vue2\r\nusing library:\r\n1. vue-cli\r\n2. bootstrap-vue\r\n```\r\n\r\nand my source code\r\n```\r\n<b-col sm=\"2\">\r\n          <v-selectmenu \r\n            :data=\"app_list\"\r\n            language='en'\r\n            :multiple='true'\r\n            key-field=\"id\"\r\n            show-field=\"name\"\r\n            v-model=\"app_value\"\r\n            title='Select Your App'\r\n            ref='test'>\r\n          </v-selectmenu>        \r\n</b-col>\r\n<script>\r\nimport vSelectMenu from 'v-selectmenu'\r\nVue.use(vSelectMenu);\r\n\r\nexport default {\r\n    name : 'App_test',  \r\n    props: ['sessionKey'],\r\n    components: {\r\n    },\r\n    data:function () {\r\n       let options = qs.parse(location.search, { ignoreQueryPrefix: true })\r\n       return {\r\n           app_value:'',\r\n           app_list:[\r\n               {\r\n                   id:0, name:'test',\r\n               }\r\n           ],\r\n     },\r\n    methods:{\r\n        getDate(){\r\n            let url = myUrl;\r\n            let api_url = axios.get(url)\r\n            api_url.then((response)=>{\r\n                 for(let i =0; i<response.data.length; i++){\r\n                        this.app_list.push({id:i+1, name:response.data[i]})\r\n                 }\r\n            })\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nHowever, v-selectmenu list can't update variable values.\r\nlooks like this.\r\n\r\nresult:\r\n```\r\nmenu list: test\r\nconsole.log(app_list):\r\n[ { \"id\": 0, \"name\": \"test\" }, { \"id\": 1, \"name\": \"HAI\" }, { \"id\": 2, \"name\": \"TEST012\" } ]\r\n```\r\n\r\nHow can i solve this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/comments/422775103","html_url":"https://github.com/TerryZ/v-selectmenu/issues/10#issuecomment-422775103","issue_url":"https://api.github.com/repos/TerryZ/v-selectmenu/issues/10","id":422775103,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjc3NTEwMw==","user":{"login":"TerryZ","id":854406,"node_id":"MDQ6VXNlcjg1NDQwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/854406?v=4","gravatar_id":"","url":"https://api.github.com/users/TerryZ","html_url":"https://github.com/TerryZ","followers_url":"https://api.github.com/users/TerryZ/followers","following_url":"https://api.github.com/users/TerryZ/following{/other_user}","gists_url":"https://api.github.com/users/TerryZ/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryZ/subscriptions","organizations_url":"https://api.github.com/users/TerryZ/orgs","repos_url":"https://api.github.com/users/TerryZ/repos","events_url":"https://api.github.com/users/TerryZ/events{/privacy}","received_events_url":"https://api.github.com/users/TerryZ/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T11:59:46Z","updated_at":"2018-09-19T11:59:46Z","author_association":"OWNER","body":"When did you call `getDate` method ?"}}
{"actor":{"display_login":"TerryZ"}}