{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/2273","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/2273/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/2273/events","html_url":"https://github.com/ant-design/ant-design/issues/2273","id":163988493,"number":2273,"title":"Select 自定义输入内容调用form.resetForm清空不了","user":{"login":"lycandjava","id":731988,"avatar_url":"https://avatars.githubusercontent.com/u/731988?v=3","gravatar_id":"","url":"https://api.github.com/users/lycandjava","html_url":"https://github.com/lycandjava","followers_url":"https://api.github.com/users/lycandjava/followers","following_url":"https://api.github.com/users/lycandjava/following{/other_user}","gists_url":"https://api.github.com/users/lycandjava/gists{/gist_id}","starred_url":"https://api.github.com/users/lycandjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lycandjava/subscriptions","organizations_url":"https://api.github.com/users/lycandjava/orgs","repos_url":"https://api.github.com/users/lycandjava/repos","events_url":"https://api.github.com/users/lycandjava/events{/privacy}","received_events_url":"https://api.github.com/users/lycandjava/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ant-design/ant-design/labels/Improvement","name":"Improvement","color":"eb6420"}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":5,"created_at":"2016-07-06T02:54:17Z","updated_at":"2016-07-07T08:42:03Z","closed_at":null,"body":"<!-- Issue Template For Chinese Users -->\r\n\r\n<!-- 请按照下列格式报告问题，务必提供复现步骤，否则恕难解决，感谢您的支持。-->\r\n\r\n### windows\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本: 1.5.0\r\n- 操作系统及其版本：Win10 \r\n- 浏览器及其版本: chrome\r\n\r\n### 你做了什么？\r\n`` \r\n <FormItem label=\"xxx：\" labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>\r\n   <Select multiple size=\"default\" placeholder=\"xxx\"  {...getFieldProps('xxxx')}  notFoundContent=\"未检索到数据\">\r\n              {this.state.dict_101.map(d=><Option key={d.name}>{d.name}</Option>)}\r\n    </Select>\r\n </FormItem>  \r\nthis.props.form.resetFields();\r\n``\r\n\r\n问题类似官网：http://ant.design/components/form\r\n校验部分喜欢的颜色\r\n\r\n<!-- 引入 antd 了 Button -->\r\n\r\n### 你期待的结果是：\r\n自定义输入的内容在调用this.props.form.resetFields();时候可以清空\r\n\r\n<!-- 像官网一样正常显示 -->\r\n\r\n## 实际上的结果：\r\n\r\n<!-- 缺少样式 -->\r\n\r\n### 可重现的在线演示\r\n\r\n<!-- 请修改并 Fork http://codepen.io/anon/pen/wGOWGW?editors=001 -->\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/231018306","html_url":"https://github.com/ant-design/ant-design/issues/2273#issuecomment-231018306","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/2273","id":231018306,"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-07-07T08:42:03Z","updated_at":"2016-07-07T08:42:03Z","body":"需要 demo"}}
{"actor":{"display_login":"yiminghe"}}