Correct Grammar in Form Component's Documentation (#20381)

In a demo corresponding to the form component, a comment contains a grammatical mistake: an infinitive in this context requires the present instead of past tense.
This commit is contained in:
Hami Abdi 2019-12-22 17:13:04 -08:00 committed by 偏右
parent 92169c4853
commit 0a00c5e22a
2 changed files with 2 additions and 1 deletions

View File

@ -190,6 +190,7 @@ Gray Choi <gray.choi.1988@gmail.com>
Guan Hao <raptium@gmail.com>
Guan Yu Pan (Jacky) <jackypan1989@gmail.com>
Guichi Zhao <zgc910619@gmail.com>
Hami Abdi <abdih@users.noreply.github.com>
HJin.me <hjin.me@gmail.com>
Hai Phan Nguyen <pnghai@gmail.com>
Haibin Yu <haibin.yu@oceanwing.com>

View File

@ -22,7 +22,7 @@ function hasErrors(fieldsError) {
class HorizontalLoginForm extends React.Component {
componentDidMount() {
// To disabled submit button at the beginning.
// To disable submit button at the beginning.
this.props.form.validateFields();
}