meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
4 additions and
1 deletions
-
src/components/base/Select/index.js
|
|
@ -40,6 +40,9 @@ class Select extends Component<Props> { |
|
|
|
if (action === 'select-option') { |
|
|
|
onChange(value) |
|
|
|
} |
|
|
|
if (action === 'pop-value') { |
|
|
|
onChange(null) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
render() { |
|
|
@ -73,10 +76,10 @@ class Select extends Component<Props> { |
|
|
|
isClearable={isClearable} |
|
|
|
isSearchable={isSearchable} |
|
|
|
blurInputOnSelect={false} |
|
|
|
onChange={this.handleChange} |
|
|
|
backspaceRemovesValue |
|
|
|
menuShouldBlockScroll |
|
|
|
{...props} |
|
|
|
onChange={this.handleChange} |
|
|
|
/> |
|
|
|
) |
|
|
|
} |
|
|
|