Browse Source

docs: update demo for: #6503

pull/6533/head
Benjy Cui 8 years ago
parent
commit
82d1957941
  1. 6
      components/form/demo/coordinated.md

6
components/form/demo/coordinated.md

@ -55,9 +55,11 @@ class App extends React.Component {
>
{getFieldDecorator('gender', {
rules: [{ required: true, message: 'Please select your gender!' }],
onChange: this.handleSelectChange,
})(
<Select placeholder="Select a option and change input text above">
<Select
placeholder="Select a option and change input text above"
onChange={this.handleSelectChange}
>
<Option value="male">male</Option>
<Option value="female">female</Option>
</Select>

Loading…
Cancel
Save