mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 22:39:34 +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