mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
fixed a word mistake
This commit is contained in:
parent
c31371e5a6
commit
ac924d9443
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user