{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/4638","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/4638/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/4638/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/4638/events","html_url":"https://github.com/ant-design/ant-design/issues/4638","id":201497540,"number":4638,"title":"RadioButtons in RadioGroup in FormItem do not select when clicked","user":{"login":"dtzhao","id":8487288,"avatar_url":"https://avatars0.githubusercontent.com/u/8487288?v=4","gravatar_id":"","url":"https://api.github.com/users/dtzhao","html_url":"https://github.com/dtzhao","followers_url":"https://api.github.com/users/dtzhao/followers","following_url":"https://api.github.com/users/dtzhao/following{/other_user}","gists_url":"https://api.github.com/users/dtzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/dtzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtzhao/subscriptions","organizations_url":"https://api.github.com/users/dtzhao/orgs","repos_url":"https://api.github.com/users/dtzhao/repos","events_url":"https://api.github.com/users/dtzhao/events{/privacy}","received_events_url":"https://api.github.com/users/dtzhao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-01-18T07:22:03Z","updated_at":"2018-05-02T04:59:58Z","closed_at":"2017-01-22T10:12:21Z","author_association":"NONE","body":"<!-- Issue Template -->\r\n\r\n<!--\r\nantd 的用法咨询，建议通过以下渠道，官方 issues 目前没有足够精力提供此类咨询服务：\r\n\r\n1. [Stack Overflow](http://stackoverflow.com/questions/tagged/antd)\r\n2. [Segment Fault](https://segmentfault.com/t/antd)（中文）\r\n\r\n如果是报告 bug，请按照下列格式书写，并务必提供复现步骤，否则恕难解决，感谢您的支持。\r\n-->\r\n\r\n#### Environment(required)\r\n\r\n- antd version: latest\r\n- OS and its version: macOS Sierra 10.12.2\r\n- Browser and its version: Chrome Version 55.0.2883.95 (64-bit)\r\n\r\n#### What did you do? Please provide steps to re-produce your problem.\r\n\r\nRunning the following code locally renders the buttons correctly but not the functionality. This problem is specific to RadioButton, as the following code works perfectly with the Radio component. \r\n```\r\n            render() {\r\n                const { getFieldDecorator } = this.props.form;\r\n                const formItemLayout = {\r\n                    labelCol: { span: 7 },\r\n                    wrapperCol: { span: 14 },\r\n                };\r\n                return (\r\n                    <Form horizontal onSubmit = {this.handleSubmit}>\r\n                        <FormItem\r\n                            {...formItemLayout}\r\n                            label = \"Options\"\r\n                        >\r\n                            {getFieldDecorator('radio-button', {\r\n                                rules: [{\r\n                                    required: true, message: 'Please select an option.',\r\n                                }],\r\n                            })(\r\n                                <RadioGroup>\r\n                                    <RadioButton value = \"a\">A</RadioButton>\r\n                                    <RadioButton value = \"b\">B</RadioButton>\r\n                                    <RadioButton value = \"c\">C</RadioButton>\r\n                                </RadioGroup>,\r\n                            )}\r\n                        </FormItem>\r\n                        ...\r\n                </ Form>\r\n```\r\n\r\n#### What did you expect?\r\n\r\nRadio Buttons should be selected when clicked, like in the example on the documentation site.\r\n\r\n#### What happen?\r\n\r\nRadioButton onHover animations work correctly but nothing happens onClick.\r\n\r\n#### Re-producible online demo\r\n\r\n<!-- Please fork http://codepen.io/benjycui/pen/KgPZrE?editors=001 to re-produce you issue -->\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/385865314","html_url":"https://github.com/ant-design/ant-design/issues/4638#issuecomment-385865314","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/4638","id":385865314,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-02T04:59:58Z","updated_at":"2018-05-02T04:59:58Z","author_association":"NONE","body":"This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.\n"}}
{"actor":{"display_login":"lock"}}