{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/2534","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/2534/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/2534/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/2534/events","html_url":"https://github.com/ant-design/ant-design/pull/2534","id":168234841,"number":2534,"title":"feat: pass this.props.form as context automatically","user":{"login":"benjycui","id":3580607,"avatar_url":"https://avatars.githubusercontent.com/u/3580607?v=3","gravatar_id":"","url":"https://api.github.com/users/benjycui","html_url":"https://github.com/benjycui","followers_url":"https://api.github.com/users/benjycui/followers","following_url":"https://api.github.com/users/benjycui/following{/other_user}","gists_url":"https://api.github.com/users/benjycui/gists{/gist_id}","starred_url":"https://api.github.com/users/benjycui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjycui/subscriptions","organizations_url":"https://api.github.com/users/benjycui/orgs","repos_url":"https://api.github.com/users/benjycui/repos","events_url":"https://api.github.com/users/benjycui/events{/privacy}","received_events_url":"https://api.github.com/users/benjycui/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ant-design/ant-design/labels/component:form","name":"component:form","color":"009800"},{"url":"https://api.github.com/repos/ant-design/ant-design/labels/Improvement","name":"Improvement","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"assignees":[{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-29T01:55:43Z","updated_at":"2016-07-29T04:09:34Z","closed_at":"2016-07-29T03:18:31Z","pull_request":{"url":"https://api.github.com/repos/ant-design/ant-design/pulls/2534","html_url":"https://github.com/ant-design/ant-design/pull/2534","diff_url":"https://github.com/ant-design/ant-design/pull/2534.diff","patch_url":"https://github.com/ant-design/ant-design/pull/2534.patch"},"body":"@fool2fish 鱼姐也踩坑了。。\r\n\r\n简化：\r\n\r\n```jsx\r\n<Form form={this.props.form}>\r\n  ...\r\n</Form>\r\n```\r\n\r\n为：\r\n\r\n```jsx\r\n<Form>\r\n  ...\r\n</Form>\r\n```"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/236090146","html_url":"https://github.com/ant-design/ant-design/pull/2534#issuecomment-236090146","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/2534","id":236090146,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T04:09:34Z","updated_at":"2016-07-29T04:09:34Z","body":"文档里 `form={this.props.form}` 里不要改。否则使用 1.x 之前版本的用户会报错。\r\n\r\n文档里加一句，自 `1.7` 之后，`form={this.props.form}` 可以被省略"}}
{"actor":{"display_login":"afc163"}}