{"action":"closed","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/33","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/33/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/33/events","html_url":"https://github.com/erikras/redux-form/issues/33","id":103196270,"number":33,"title":"Make the `handleChange` prop work with checkboxes/radios","user":{"login":"bernharduw","id":740978,"avatar_url":"https://avatars.githubusercontent.com/u/740978?v=3","gravatar_id":"","url":"https://api.github.com/users/bernharduw","html_url":"https://github.com/bernharduw","followers_url":"https://api.github.com/users/bernharduw/followers","following_url":"https://api.github.com/users/bernharduw/following{/other_user}","gists_url":"https://api.github.com/users/bernharduw/gists{/gist_id}","starred_url":"https://api.github.com/users/bernharduw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernharduw/subscriptions","organizations_url":"https://api.github.com/users/bernharduw/orgs","repos_url":"https://api.github.com/users/bernharduw/repos","events_url":"https://api.github.com/users/bernharduw/events{/privacy}","received_events_url":"https://api.github.com/users/bernharduw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T07:23:40Z","updated_at":"2015-08-26T08:32:15Z","closed_at":"2015-08-26T08:32:15Z","body":"Right now `handleChange` doesn't work out of the box with checkboxes/radio buttons. In my form, I wrote a small wrapper function like this:\r\n\r\n```es6\r\n// An expression to handle checkboxes.\r\nconst handleCheckboxChanged = name => event => handleChange(name, !!event.target.changed)(event);\r\n```\r\n\r\nBut it would be nicer and easier to avoid errors if handleChange supported checkboxes by default.\r\n\r\nAdditionally, `handleBlur` doesn't check for `undefined` explicitly, so it doesn't work at all with the `changed`property."}}