From 0a00c5e22ab018b6f5c06154d02263469a072c71 Mon Sep 17 00:00:00 2001 From: Hami Abdi Date: Sun, 22 Dec 2019 17:13:04 -0800 Subject: [PATCH] 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. --- AUTHORS.txt | 1 + components/form/demo/inline-login.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 3f670e87a6..b311c53818 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -190,6 +190,7 @@ Gray Choi Guan Hao Guan Yu Pan (Jacky) Guichi Zhao +Hami Abdi HJin.me Hai Phan Nguyen Haibin Yu diff --git a/components/form/demo/inline-login.md b/components/form/demo/inline-login.md index bf8a1f4f72..4f042dd51e 100644 --- a/components/form/demo/inline-login.md +++ b/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(); }