creatable应该不影响 searchable
This commit is contained in:
parent
70d034460c
commit
af4b3bc98a
|
@ -211,7 +211,7 @@ export default class SelectControl extends React.Component<SelectProps, any> {
|
|||
isEffectiveApi(autoComplete) ? this.loadRemote : undefined
|
||||
}
|
||||
creatable={creatable}
|
||||
searchable={autoComplete || creatable ? true : searchable}
|
||||
searchable={searchable || !!autoComplete}
|
||||
onChange={this.changeValue}
|
||||
loading={loading}
|
||||
noResultsText={noResultsText}
|
||||
|
|
Loading…
Reference in New Issue