fixed a word mistake

This commit is contained in:
Alexander Anpleenko 2018-08-01 20:45:03 +03:00 committed by 偏右
parent c31371e5a6
commit ac924d9443

View File

@ -98,7 +98,7 @@ export default class FormItem extends React.Component<FormItemProps, any> {
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));