mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
update select size in form
This commit is contained in:
parent
804da578de
commit
ebf0168ece
@ -170,7 +170,7 @@ var Form = React.createClass({
|
||||
<div className="col-12">
|
||||
<div className={this.renderValidateStyle('select', false)}>
|
||||
<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="use">美国</Option>
|
||||
<Option value="japan">日本</Option>
|
||||
@ -180,9 +180,9 @@ var Form = React.createClass({
|
||||
</Validator>
|
||||
{status.select.errors ? <div className="ant-form-explain">{status.select.errors.join(',')}</div> : null}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div className="ant-form-item ant-form-item-compact">
|
||||
<label className="col-7" required>性别:</label>
|
||||
<div className="col-12">
|
||||
|
Loading…
Reference in New Issue
Block a user