mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
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:
parent
92169c4853
commit
0a00c5e22a
@ -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>
|
||||
|
@ -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…
Reference in New Issue
Block a user