diff --git a/components/form/FormItem.jsx b/components/form/FormItem.jsx index c3c28167eb..d9c248f776 100644 --- a/components/form/FormItem.jsx +++ b/components/form/FormItem.jsx @@ -114,8 +114,13 @@ class FormItem extends React.Component { this.isRequired() : props.required; + const className = classNames({ + [this._getLayoutClass(labelCol)]: true, + required: required, + }); + return props.label ? ( -