Browse Source

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.
pull/20382/head
Hami Abdi 5 years ago
committed by 偏右
parent
commit
0a00c5e22a
  1. 1
      AUTHORS.txt
  2. 2
      components/form/demo/inline-login.md

1
AUTHORS.txt

@ -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>

2
components/form/demo/inline-login.md

@ -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();
}

Loading…
Cancel
Save