From b617b41dcb4ac4ff7cfdddba05c179bbe35d817b Mon Sep 17 00:00:00 2001 From: medayz <32037076+medayz@users.noreply.github.com> Date: Wed, 26 Feb 2020 04:27:15 +0100 Subject: [PATCH] fix typos in messages (#21594) --- components/form/demo/customized-form-controls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/form/demo/customized-form-controls.md b/components/form/demo/customized-form-controls.md index f4870276b7..a8bef143ec 100644 --- a/components/form/demo/customized-form-controls.md +++ b/components/form/demo/customized-form-controls.md @@ -81,14 +81,14 @@ const PriceInput: React.FC = ({ value = {}, onChange }) => { const Demo = () => { const onFinish = values => { - console.log('Received values of form: ', values); + console.log('Received values from form: ', values); }; const checkPrice = (rule, value) => { if (value.number > 0) { return Promise.resolve(); } - return Promise.reject('Price must greater than zero!'); + return Promise.reject('Price must be greater than zero!'); }; return (