{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/610","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/610/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/610/events","html_url":"https://github.com/ant-design/ant-design/issues/610","id":119416801,"number":610,"title":"rc-form 适配","user":{"login":"yiminghe","id":200876,"avatar_url":"https://avatars.githubusercontent.com/u/200876?v=3","gravatar_id":"","url":"https://api.github.com/users/yiminghe","html_url":"https://github.com/yiminghe","followers_url":"https://api.github.com/users/yiminghe/followers","following_url":"https://api.github.com/users/yiminghe/following{/other_user}","gists_url":"https://api.github.com/users/yiminghe/gists{/gist_id}","starred_url":"https://api.github.com/users/yiminghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiminghe/subscriptions","organizations_url":"https://api.github.com/users/yiminghe/orgs","repos_url":"https://api.github.com/users/yiminghe/repos","events_url":"https://api.github.com/users/yiminghe/events{/privacy}","received_events_url":"https://api.github.com/users/yiminghe/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"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":8,"created_at":"2015-11-30T04:26:02Z","updated_at":"2016-01-14T11:04:24Z","closed_at":null,"body":"所有输入组件需要能够配合 rc-form 使用，包括 reset：\r\n\r\n例如：\r\n\r\n```js\r\nimport {Form, FormItem, Input} from 'antd';\r\nlet Test = React.createClass({\r\n  render() {\r\n    return <FormItem form={this.props.form} name=\"xx\" options={validate:[{rules:}] }>\r\n      <Input /> \r\n    </FormItem>\r\n };\r\n});\r\n\r\nTest = Form.createForm()(Test);\r\n```"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/171613824","html_url":"https://github.com/ant-design/ant-design/issues/610#issuecomment-171613824","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/610","id":171613824,"user":{"login":"yiminghe","id":200876,"avatar_url":"https://avatars.githubusercontent.com/u/200876?v=3","gravatar_id":"","url":"https://api.github.com/users/yiminghe","html_url":"https://github.com/yiminghe","followers_url":"https://api.github.com/users/yiminghe/followers","following_url":"https://api.github.com/users/yiminghe/following{/other_user}","gists_url":"https://api.github.com/users/yiminghe/gists{/gist_id}","starred_url":"https://api.github.com/users/yiminghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiminghe/subscriptions","organizations_url":"https://api.github.com/users/yiminghe/orgs","repos_url":"https://api.github.com/users/yiminghe/repos","events_url":"https://api.github.com/users/yiminghe/events{/privacy}","received_events_url":"https://api.github.com/users/yiminghe/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T11:04:24Z","updated_at":"2016-01-14T11:04:24Z","body":"默认用 context 实现可以 FormItem 不设置 form 属性，如果 FormItem 设置了就用设置的"}}