Add plain text form item in demo, close #4465

This commit is contained in:
afc163 2017-01-05 16:40:21 +08:00
parent 9df1eb91db
commit 53371dfe3e

View File

@ -47,7 +47,13 @@ const Demo = Form.create()(React.createClass({
wrapperCol: { span: 14 },
};
return (
<Form horizontal onSubmit={this.handleSubmit}>
<Form onSubmit={this.handleSubmit}>
<FormItem
{...formItemLayout}
label="Nation"
>
<span className="ant-form-text">China</span>
</FormItem>
<FormItem
{...formItemLayout}
label="Select"