I am using AsyncSelect and I would like to hide the arrow-down button on the right, the one that display the list of options.
It can make sense when there are default options. But it my case I have none, so that button makes no sense it my situation.
Is there a way to remove/hide it, when in async mode and there no default options ?
Below is the code
<AsyncSelect
placeholder="Search ..."
cacheOptions
defaultOptions={false}
value={this.state.currentValue} // Default to null
loadOptions={this.fetchOptions}
onChange={...}
isClearable
/>
Also, is it possible to disable the fact that the component display an empty list when it get the focus, and only display matched options when at least one character is entered.
Sorry for asking two in one.
Thanks in advance.