{"action":"opened","issue":{"url":"https://api.github.com/repos/ovsleep/bootstrap-switch/issues/5","repository_url":"https://api.github.com/repos/ovsleep/bootstrap-switch","labels_url":"https://api.github.com/repos/ovsleep/bootstrap-switch/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ovsleep/bootstrap-switch/issues/5/comments","events_url":"https://api.github.com/repos/ovsleep/bootstrap-switch/issues/5/events","html_url":"https://github.com/ovsleep/bootstrap-switch/issues/5","id":230188034,"number":5,"title":"Cannot read property 'toString' of undefined","user":{"login":"aebmknrl","id":5152002,"avatar_url":"https://avatars2.githubusercontent.com/u/5152002?v=3","gravatar_id":"","url":"https://api.github.com/users/aebmknrl","html_url":"https://github.com/aebmknrl","followers_url":"https://api.github.com/users/aebmknrl/followers","following_url":"https://api.github.com/users/aebmknrl/following{/other_user}","gists_url":"https://api.github.com/users/aebmknrl/gists{/gist_id}","starred_url":"https://api.github.com/users/aebmknrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aebmknrl/subscriptions","organizations_url":"https://api.github.com/users/aebmknrl/orgs","repos_url":"https://api.github.com/users/aebmknrl/repos","events_url":"https://api.github.com/users/aebmknrl/events{/privacy}","received_events_url":"https://api.github.com/users/aebmknrl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-21T00:30:58Z","updated_at":"2017-05-21T00:30:58Z","closed_at":null,"body":"Hi my friend, i start to use this on my proyect and it gives me this error:\r\n\r\n`Cannot read property 'toString' of undefined`\r\n\r\nHere is my code:\r\n\r\n`<switch class=\"form-control\" [status]=\"value\" [onText]=\"'Si'\" [offText]=\"'No'\" [onColor]=\"'green'\" [offColor]=\"'gray'\" [size]=\"'small'\"></switch>`\r\n\r\nI already import your component on my module:\r\n\r\n```\r\nimport { NgModule } from '@angular/core';\r\nimport { SwitchComponent } from 'angular2-bootstrap-switch/components';\r\n\r\n@NgModule({\r\n    imports: [\r\n        SharedModule,\r\n    ],\r\n    exports: [],\r\n    declarations: [\r\n        SwitchComponent\r\n        ],\r\n    providers: [CalendarProviderService, CalendarGuard],\r\n})\r\nexport class CalendarModuleModule { }\r\n\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5152002/26280304/38d8ff14-3d9b-11e7-837f-317dbcd5c14b.png)\r\n\r\n\r\nCan you help me?"}}
{"actor":{"display_login":"aebmknrl"}}