Skip to content

Feature Request: autoComplete mode for free text input (multi + comma support) #339

@Mohammed-Sameer-Inamdar

Description

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:

  • Typed text is automatically treated as selected value

  • No need to explicitly click "create"

    When multi=true:

    • Comma-separated input creates multiple values
      Example:
      "apple, banana" → ["apple", "banana"]

- 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions