react-select
react-select copied to clipboard
Select-input is visible when searchable={false} when using multi={true}
When
<Select multi={true} searchable={false} disabled={disabled} onChange={this.onChange}
value={this.props.value}
options={options}
/>
Results in the control showing the select-input when using the multi option.

When compared with:
<Select multi={true} xxxxxxsearchable={false} disabled={disabled} onChange={this.onChange}
value={this.props.value}
options={options}
/>

This is element that is visible, that shouldn't be:

I can add a css rule to hide it, but wondered whether i'm doing anything wrong to cause it?
thanks
+1, @sambomartin. Setting display: none; didn't work for me (seemed to break the toggling of the options list), so I had to add css to set height/margin/padding etc. to 0.
Version 1 of react-select is no longer supported.
In the best interest of the community we've decided to spend the time we have available on the latest version.
We apologise for any inconvenience.
Please see:
- v1 to v2 upgrade guide
- v1 documentation and examples