From ac924d9443ab5b0695c3092542a727b9c36826a9 Mon Sep 17 00:00:00 2001 From: Alexander Anpleenko Date: Wed, 1 Aug 2018 20:45:03 +0300 Subject: [PATCH] fixed a word mistake --- components/form/FormItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/FormItem.tsx b/components/form/FormItem.tsx index 10b64220ab..db4d930a91 100644 --- a/components/form/FormItem.tsx +++ b/components/form/FormItem.tsx @@ -98,7 +98,7 @@ export default class FormItem extends React.Component { if (!child.props) { continue; } - if (FIELD_META_PROP in child.props) { // And means FIELD_DATA_PROP in chidl.props, too. + if (FIELD_META_PROP in child.props) { // And means FIELD_DATA_PROP in child.props, too. controls.push(child); } else if (child.props.children) { controls = controls.concat(this.getControls(child.props.children, recursively));