components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request]: Add controlled state for input in Select component (i.e `inputValue`)

Open alfonsoar opened this issue 11 months ago • 2 comments

Description

Currently users are not able to control the value of the <input /> in the <Select /> component. It would be helpful to provide something like inputValue in order to allow developers to control the value of the <input />.

Image

References from other libraries:

  1. react-select reference

  2. Material ui

Code of Conduct

alfonsoar avatar Mar 04 '25 20:03 alfonsoar

Hey @alfonsoar, can you give us a bit more details about your use case? Why do you need to control the filter text?

orangevolon avatar Mar 10 '25 11:03 orangevolon

A few I can think of:

  1. Pre-defined searches
  2. Saved searches
  3. Input validation/sanitation
  4. Typeahead autocomplete/suggestions

alfonsoar avatar Mar 10 '25 14:03 alfonsoar