Skip to content

Commit

Permalink
up demo
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed May 30, 2016
1 parent 286ae8f commit 08b36e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ class Form extends Component {
</div>

<div style={regionStyle}>
<Select style={{ width: 200 }} allowClear
<Select style={{ width: 200 }} allowClear multiple
{...getFieldProps('select', {
initialValue: 'jack',
rules: [
{required: true, type: 'string', message: 'select 需要必填'},
{required: true, type: 'array', message: 'select 需要必填'},
],
})}>
<Option value="jack">jack</Option>
Expand Down

0 comments on commit 08b36e3

Please sign in to comment.