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

Add a way to customize the text input

Open olzraiti opened this issue 8 years ago • 1 comments

Currently it's impossible to customize the text input that the component wraps. Customizing the text input would allow users to change the type attribute or set the input's id (currently you can't add an id the the react-selectize component and therefore you can't focus the component when a label is clicked). I can think of two ways how the text input could be customized:

  1. Add some parameter object like inputOptions which would be passed to the React input element.
  2. Add a input rendering function parameter.

Adding a way to customize the input would solve at least #79, #110 #118.

olzraiti avatar Dec 07 '16 11:12 olzraiti

Yeah, it would be also perfect if we're able to set the readOnly property!

https://github.com/furqanZafar/react-selectize/issues/172

green2k avatar Sep 15 '17 22:09 green2k