{"action":"created","issue":{"url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/18","repository_url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch","labels_url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/18/comments","events_url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/18/events","html_url":"https://github.com/larsmars/vuejs-toggle-switch/issues/18","id":367952955,"node_id":"MDU6SXNzdWUzNjc5NTI5NTU=","number":18,"title":"Error on multiple switchers with same labels","user":{"login":"durancu","id":858387,"node_id":"MDQ6VXNlcjg1ODM4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/858387?v=4","gravatar_id":"","url":"https://api.github.com/users/durancu","html_url":"https://github.com/durancu","followers_url":"https://api.github.com/users/durancu/followers","following_url":"https://api.github.com/users/durancu/following{/other_user}","gists_url":"https://api.github.com/users/durancu/gists{/gist_id}","starred_url":"https://api.github.com/users/durancu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durancu/subscriptions","organizations_url":"https://api.github.com/users/durancu/orgs","repos_url":"https://api.github.com/users/durancu/repos","events_url":"https://api.github.com/users/durancu/events{/privacy}","received_events_url":"https://api.github.com/users/durancu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T21:06:04Z","updated_at":"2018-10-13T07:55:30Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\nMultiple switchers with labels yes/no should work properly/\r\n\r\n## Actual Behavior\r\n\r\n **Without :group**\r\n- First switcher work fine but the other, when you click on them, that actually changes the value of the first one instead.\r\n \r\n**With :group** \r\n- The switchers freezes\r\n\r\n## Steps to Reproduce the Problem\r\n  Set two switchers with items property like:\r\n```\r\n items: {\r\n   delay: .4,\r\n   disabled: false,\r\n     labels: [\r\n     {name: 'No', color: '#d0d0d0', backgroundColor: '#777777'},\r\n     {name: 'Yes', color: '#ffffff', backgroundColor: '#333333'}\r\n     ]\r\n }\r\n```\r\nSwitchers html:\r\n\r\nNumber 1:\r\n ```\r\n<toggle-switch name=\"married\" :options=\"toggles.married\" v-model=\"user.married\" :group=\"'married'\" />\r\n```\r\n\r\nNumber 2:\r\n ```\r\n<toggle-switch name=\"insured\" :options=\"toggles.insured\" v-model=\"user.insured\" :group=\"'insured'\" />```\r\n\r\n\r\n## Specifications\r\n\r\n  - Package version: latest\r\n  - VueJS Version: 2.1\r\n"},"comment":{"url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/comments/429520421","html_url":"https://github.com/larsmars/vuejs-toggle-switch/issues/18#issuecomment-429520421","issue_url":"https://api.github.com/repos/larsmars/vuejs-toggle-switch/issues/18","id":429520421,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTUyMDQyMQ==","user":{"login":"larsmars","id":5154589,"node_id":"MDQ6VXNlcjUxNTQ1ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/5154589?v=4","gravatar_id":"","url":"https://api.github.com/users/larsmars","html_url":"https://github.com/larsmars","followers_url":"https://api.github.com/users/larsmars/followers","following_url":"https://api.github.com/users/larsmars/following{/other_user}","gists_url":"https://api.github.com/users/larsmars/gists{/gist_id}","starred_url":"https://api.github.com/users/larsmars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsmars/subscriptions","organizations_url":"https://api.github.com/users/larsmars/orgs","repos_url":"https://api.github.com/users/larsmars/repos","events_url":"https://api.github.com/users/larsmars/events{/privacy}","received_events_url":"https://api.github.com/users/larsmars/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T07:55:30Z","updated_at":"2018-10-13T07:55:30Z","author_association":"OWNER","body":"The bug is updated in v. 1.1.29\r\n\r\nI also added a demo with use of list, group, name and 2 way binding at det live demo:\r\nhttps://softwarefun.no/toggleswitch\r\n\r\nThank you for the feedback."}}
{"actor":{"display_login":"larsmars"}}