{"action":"closed","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/9917","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/9917/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/9917/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/9917/events","html_url":"https://github.com/ant-design/ant-design/issues/9917","id":310735454,"number":9917,"title":"Form does not show x validate button","user":{"login":"khuong291","id":11523438,"avatar_url":"https://avatars2.githubusercontent.com/u/11523438?v=4","gravatar_id":"","url":"https://api.github.com/users/khuong291","html_url":"https://github.com/khuong291","followers_url":"https://api.github.com/users/khuong291/followers","following_url":"https://api.github.com/users/khuong291/following{/other_user}","gists_url":"https://api.github.com/users/khuong291/gists{/gist_id}","starred_url":"https://api.github.com/users/khuong291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khuong291/subscriptions","organizations_url":"https://api.github.com/users/khuong291/orgs","repos_url":"https://api.github.com/users/khuong291/repos","events_url":"https://api.github.com/users/khuong291/events{/privacy}","received_events_url":"https://api.github.com/users/khuong291/received_events","type":"User","site_admin":false},"labels":[{"id":778648450,"url":"https://api.github.com/repos/ant-design/ant-design/labels/Component:%20Button","name":"Component: Button","color":"1d76db","default":false},{"id":571726996,"url":"https://api.github.com/repos/ant-design/ant-design/labels/Invalid","name":"Invalid","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-03T08:10:07Z","updated_at":"2018-04-03T08:10:08Z","closed_at":"2018-04-03T08:10:08Z","author_association":"NONE","body":"I have a form item, but it does not show x validate button after I type some words then remove all.\r\n\r\n<img width=\"276\" alt=\"screen shot 2018-04-03 at 4 09 52 pm\" src=\"https://user-images.githubusercontent.com/11523438/38237313-7728b17a-3759-11e8-8b7d-01a3121458b1.png\">\r\n\r\n<img width=\"277\" alt=\"screen shot 2018-04-03 at 4 09 26 pm\" src=\"https://user-images.githubusercontent.com/11523438/38237297-6c0fce72-3759-11e8-981a-79c6cfa21745.png\">\r\n\r\n```\r\n<FormItem\r\n                label={<FormattedMessage id=\"SE-206.Section3.FirstName\" />}\r\n                hasFeedback\r\n              >\r\n                {getFieldDecorator('firstName', {\r\n                  initialValue: this.props.info.firstName,\r\n                  rules: [\r\n                    {\r\n                      required: true,\r\n                      message: 'Please input your first name!',\r\n                    },\r\n                  ],\r\n                })(\r\n                  <Input\r\n                    onChange={event =>\r\n                      this.props.updateValue('firstName', event.target.value)\r\n                    }\r\n                  />\r\n                )}\r\n              </FormItem>\r\n```"}}
{"actor":{"display_login":"ant-design-bot"}}