react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Select-input is visible when searchable={false} when using multi={true}

Open sambomartin opened this issue 11 years ago • 2 comments

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.

image

When compared with:

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

image

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

image

I can add a css rule to hide it, but wondered whether i'm doing anything wrong to cause it?

thanks

sambomartin avatar Aug 19 '15 08:08 sambomartin

+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.

vpatil avatar Aug 24 '15 20:08 vpatil

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:

  1. v1 to v2 upgrade guide
  2. v1 documentation and examples

jossmac avatar Mar 17 '20 06:03 jossmac