Add inline form item explain to demo, #846

pull/829/head
afc163 9 years ago
parent 2774efdc7d
commit 7a142993a1

@ -90,6 +90,25 @@ ReactDOM.render(
<p className="ant-form-explain">请输入正确选项</p>
</Col>
</FormItem>
<FormItem
label="Datepicker"
labelCol={{span: 5}}>
<Col span="6">
<FormItem validateStatus="error">
<DatePicker />
<p className="ant-form-explain">请输入正确选项</p>
</FormItem>
</Col>
<Col span="1">
<p className="ant-form-split">-</p>
</Col>
<Col span="6">
<FormItem>
<DatePicker />
</FormItem>
</Col>
</FormItem>
</Form>
, mountNode);
````

Loading…
Cancel
Save