Browse Source

update select size in form

pull/128/head
afc163 9 years ago
parent
commit
ebf0168ece
  1. 2
      components/validation/demo/basic.md

2
components/validation/demo/basic.md

@ -170,7 +170,7 @@ var Form = React.createClass({
<div className="col-12"> <div className="col-12">
<div className={this.renderValidateStyle('select', false)}> <div className={this.renderValidateStyle('select', false)}>
<Validator rules={[{required: true, message: '请选择您的国籍'}]}> <Validator rules={[{required: true, message: '请选择您的国籍'}]}>
<Select style={{width:100 + "%"}} name="select" value={formData.select}> <Select size="large" placeholder="请选择国家" style={{width:"100%"}} name="select" value={formData.select}>
<Option value="china">中国</Option> <Option value="china">中国</Option>
<Option value="use">美国</Option> <Option value="use">美国</Option>
<Option value="japan">日本</Option> <Option value="japan">日本</Option>

Loading…
Cancel
Save