diff --git a/components/form/FormItem.jsx b/components/form/FormItem.jsx index 5ff24a092..f00a7c214 100644 --- a/components/form/FormItem.jsx +++ b/components/form/FormItem.jsx @@ -119,7 +119,7 @@ class FormItem extends React.Component { const context = this.context; const props = this.props; let children = null; - if (context.form && props.id && props.fieldOption) { + if (context.form && props.id) { const child = React.Children.only(props.children); const size = {}; if (typeof child.type === 'function' && !child.props.size) { diff --git a/package.json b/package.json index bfe808f60..24bebf808 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "0.12.0-beta.27", + "version": "0.12.0-beta.28", "title": "Ant Design", "description": "一个 UI 设计语言", "homepage": "http://ant.design/",