Currently, react-dropdown-select supports create and createNewLabel, but it requires explicit selection to add new values.
I would like to propose autoComplete and separator props with the following behavior:
When autoComplete=true:
- Matching logic:
- If typed value matches existing option → use that option
- Else → create new value
separator: (default: comma)
Use cases:
- Tag inputs
- Search bars with suggestions
- Faster UX for bulk entry
I amm happy to work on a PR if this approach is acceptable.
Currently, react-dropdown-select supports
createandcreateNewLabel, but it requires explicit selection to add new values.I would like to propose autoComplete and separator props with the following behavior:
When autoComplete=true:
Typed text is automatically treated as selected value
No need to explicitly click "create"
When multi=true:
Example:
"apple, banana" → ["apple", "banana"]
- Matching logic:
separator: (default: comma)
Use cases:
I amm happy to work on a PR if this approach is acceptable.