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

Passing a custom input component as the search component

Open aree5741 opened this issue 9 years ago • 3 comments

Hi,

Is it possible to pass a custom input field component for react-select ?

aree5741 avatar May 25 '17 16:05 aree5741

Hi @AchinthaReemal, we use https://github.com/JedWatson/react-input-autosize, not sure I see value in allowing to use your own. This could greatly change the way the select behaves, which may cause further issues down the road. It also increases our API surface.

agirton avatar May 25 '17 16:05 agirton

Hi @AchinthaReemal I misspoke, we don't allow a custom input, but if you use autosize false. Then you can pass in inputProps to customize. Hope this helps.

agirton avatar May 25 '17 16:05 agirton

@agirton thanx for the info, but what I'm looking for is a way to pass an input component all together. So it seems like I have to find an alternative to get around this issue. Thanx again.

aree5741 avatar May 26 '17 04:05 aree5741