{"action":"created","issue":{"url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/4","labels_url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/4/comments","events_url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/4/events","html_url":"https://github.com/LevInteractive/react-serial-forms/issues/4","id":93884790,"number":4,"title":"what is the correct behavior for multiple checkbox with the same name?","user":{"login":"carlosrberto","id":679481,"avatar_url":"https://avatars.githubusercontent.com/u/679481?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosrberto","html_url":"https://github.com/carlosrberto","followers_url":"https://api.github.com/users/carlosrberto/followers","following_url":"https://api.github.com/users/carlosrberto/following{/other_user}","gists_url":"https://api.github.com/users/carlosrberto/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosrberto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosrberto/subscriptions","organizations_url":"https://api.github.com/users/carlosrberto/orgs","repos_url":"https://api.github.com/users/carlosrberto/repos","events_url":"https://api.github.com/users/carlosrberto/events{/privacy}","received_events_url":"https://api.github.com/users/carlosrberto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T20:35:00Z","updated_at":"2015-07-09T05:53:59Z","closed_at":null,"body":"What is the correct behavior for multiple checkbox with the same name? \r\nshould return only the checked elements, it is returning an array with all checked and not checked values."},"comment":{"url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/comments/119828580","html_url":"https://github.com/LevInteractive/react-serial-forms/issues/4#issuecomment-119828580","issue_url":"https://api.github.com/repos/LevInteractive/react-serial-forms/issues/4","id":119828580,"user":{"login":"petesaia","id":157464,"avatar_url":"https://avatars.githubusercontent.com/u/157464?v=3","gravatar_id":"","url":"https://api.github.com/users/petesaia","html_url":"https://github.com/petesaia","followers_url":"https://api.github.com/users/petesaia/followers","following_url":"https://api.github.com/users/petesaia/following{/other_user}","gists_url":"https://api.github.com/users/petesaia/gists{/gist_id}","starred_url":"https://api.github.com/users/petesaia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petesaia/subscriptions","organizations_url":"https://api.github.com/users/petesaia/orgs","repos_url":"https://api.github.com/users/petesaia/repos","events_url":"https://api.github.com/users/petesaia/events{/privacy}","received_events_url":"https://api.github.com/users/petesaia/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T05:53:59Z","updated_at":"2015-07-09T05:53:59Z","body":"It sounds like you may want to do something like:\r\n\r\n```\r\n<InputField name='foo[]' type='checkbox' />\r\n<InputField name='foo[]' type='checkbox' />\r\n<InputField name='foo[]' type='checkbox' />\r\n<InputField name='foo[]' type='checkbox' />\r\n```\r\n\r\nWhat sort of result were you looking for?"}}