mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
docs: update demo for: #6503
This commit is contained in:
parent
644e23fac6
commit
82d1957941
@ -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…
Reference in New Issue
Block a user