{"action":"reopened","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3302","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3302/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3302/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3302/events","html_url":"https://github.com/ant-design/ant-design/issues/3302","id":180883835,"number":3302,"title":"如何实现一个自定义表单组件？","user":{"login":"Midqiu","id":5728399,"avatar_url":"https://avatars.githubusercontent.com/u/5728399?v=3","gravatar_id":"","url":"https://api.github.com/users/Midqiu","html_url":"https://github.com/Midqiu","followers_url":"https://api.github.com/users/Midqiu/followers","following_url":"https://api.github.com/users/Midqiu/following{/other_user}","gists_url":"https://api.github.com/users/Midqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/Midqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Midqiu/subscriptions","organizations_url":"https://api.github.com/users/Midqiu/orgs","repos_url":"https://api.github.com/users/Midqiu/repos","events_url":"https://api.github.com/users/Midqiu/events{/privacy}","received_events_url":"https://api.github.com/users/Midqiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-04T12:49:31Z","updated_at":"2016-10-08T02:45:15Z","closed_at":null,"body":"比如我自己封装了一个自定义的Input组件，那么我要实现哪些接口和方法才能让 `Form.create`化之后的表单获取到我的组件的属性呢？\r\n\r\n比如我想要这样使用：\r\n```\r\n<FormItem label=\"用户\" hasFeedback >\r\n          {getFieldDecorator('person', {\r\n            rules: [  { required: true} ]\r\n          })(<MyInput  /> )}\r\n</FormItem>\r\n```\r\n我这个MyInput  的value是一个对象。我要如何实现MyInput呢？"}}
{"actor":{"display_login":"afc163"}}