{"action":"created","issue":{"url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/12","repository_url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue","labels_url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/12/comments","events_url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/12/events","html_url":"https://github.com/hamed-ehtesham/pretty-checkbox-vue/issues/12","id":356302058,"node_id":"MDU6SXNzdWUzNTYzMDIwNTg=","number":12,"title":"Checked Property","user":{"login":"George2215","id":35824642,"node_id":"MDQ6VXNlcjM1ODI0NjQy","avatar_url":"https://avatars2.githubusercontent.com/u/35824642?v=4","gravatar_id":"","url":"https://api.github.com/users/George2215","html_url":"https://github.com/George2215","followers_url":"https://api.github.com/users/George2215/followers","following_url":"https://api.github.com/users/George2215/following{/other_user}","gists_url":"https://api.github.com/users/George2215/gists{/gist_id}","starred_url":"https://api.github.com/users/George2215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/George2215/subscriptions","organizations_url":"https://api.github.com/users/George2215/orgs","repos_url":"https://api.github.com/users/George2215/repos","events_url":"https://api.github.com/users/George2215/events{/privacy}","received_events_url":"https://api.github.com/users/George2215/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-02T18:10:12Z","updated_at":"2018-09-05T06:26:07Z","closed_at":null,"author_association":"NONE","body":"I am using your component but I can not verify the fields assigned. \r\nIf the check box works with the basic input, this works perfect for me.\r\n\r\nI appreciate your help\r\n```\r\n<!--Basic Input (Work)-->\r\n<div class=\"checkboxes\" v-for=\"permission in arrayPermissions\">                                       \r\n     <input type=\"checkbox\" :value=\"permission\" v-model=\"permissions\">\r\n     <label class=\"check\" v-text=\"permission.name\"></label>\r\n</div>\r\n```\r\n```\r\n<!--Component PrettyCheckbox (it does not work)-->\r\n<div v-for=\"permission in arrayPermissions\">\r\n   <p-check class=\"p-icon p-curve\" color=\"success\" v-model=\"permissions\" :value=\"permission\" \r\n    :checked=\"permission\">\r\n        <i class=\"icon fa fa-check\" slot=\"extra\"></i>\r\n        {{ permission.name }}\r\n    </p-check>            \r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/comments/418613663","html_url":"https://github.com/hamed-ehtesham/pretty-checkbox-vue/issues/12#issuecomment-418613663","issue_url":"https://api.github.com/repos/hamed-ehtesham/pretty-checkbox-vue/issues/12","id":418613663,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODYxMzY2Mw==","user":{"login":"hamed-ehtesham","id":14082075,"node_id":"MDQ6VXNlcjE0MDgyMDc1","avatar_url":"https://avatars0.githubusercontent.com/u/14082075?v=4","gravatar_id":"","url":"https://api.github.com/users/hamed-ehtesham","html_url":"https://github.com/hamed-ehtesham","followers_url":"https://api.github.com/users/hamed-ehtesham/followers","following_url":"https://api.github.com/users/hamed-ehtesham/following{/other_user}","gists_url":"https://api.github.com/users/hamed-ehtesham/gists{/gist_id}","starred_url":"https://api.github.com/users/hamed-ehtesham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamed-ehtesham/subscriptions","organizations_url":"https://api.github.com/users/hamed-ehtesham/orgs","repos_url":"https://api.github.com/users/hamed-ehtesham/repos","events_url":"https://api.github.com/users/hamed-ehtesham/events{/privacy}","received_events_url":"https://api.github.com/users/hamed-ehtesham/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T06:26:07Z","updated_at":"2018-09-05T06:26:07Z","author_association":"OWNER","body":"change watch to this:\r\n``` js\r\nwatch: {\r\n            idrole(value) {\r\n               console.log(value); \r\n                this.permissions = this.arrayRoles[value]['permissions'];                                \r\n            }\r\n        }\r\n```\r\n\r\nif it doesn't solve your problem create a [Codepen](https://codepen.io/) so i can help you better"}}
{"actor":{"display_login":"hamed-ehtesham"}}