{"action":"closed","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/2250","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/2250/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/2250/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/2250/events","html_url":"https://github.com/callemall/material-ui/issues/2250","id":118428181,"number":2250,"title":"Switches \"value\" prop","user":{"login":"rhythnic","id":8162640,"avatar_url":"https://avatars.githubusercontent.com/u/8162640?v=3","gravatar_id":"","url":"https://api.github.com/users/rhythnic","html_url":"https://github.com/rhythnic","followers_url":"https://api.github.com/users/rhythnic/followers","following_url":"https://api.github.com/users/rhythnic/following{/other_user}","gists_url":"https://api.github.com/users/rhythnic/gists{/gist_id}","starred_url":"https://api.github.com/users/rhythnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhythnic/subscriptions","organizations_url":"https://api.github.com/users/rhythnic/orgs","repos_url":"https://api.github.com/users/rhythnic/repos","events_url":"https://api.github.com/users/rhythnic/events{/privacy}","received_events_url":"https://api.github.com/users/rhythnic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T17:17:18Z","updated_at":"2015-11-23T17:54:05Z","closed_at":"2015-11-23T17:54:05Z","body":"I used \"value\" on Checkbox, as in the docs, but it was throwing an error.  From looking at the code it seems like it should be \"checked\" instead of \"value\".\r\n\r\n```\r\n<Checkbox label=\"Label\" value={this.state.thingIsEnabled} />\r\n```\r\n\r\n```\r\nWarning: Failed propType: Invalid prop `value` of type `boolean` supplied to `EnhancedSwitch`, expected `string`. Check the render method of `Checkbox`.\r\n```"}}