|
|
@ -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> |
|
|
|