Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
alfonsoar opened this issue Mar 4, 2025 · 2 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@alfonsoar
Copy link

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 alfonsoar added the enhancement New feature or request label Mar 4, 2025
@orangevolon
Copy link
Member

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

@alfonsoar
Copy link
Author

A few I can think of:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants