Skip to content

ability to have multiple-select UX with single-select functionality #73

Description

@atuttle

I love the appearance and UX of the multi-select mode, but I still want to limit the user to one selection. In particular, I think showing the selection as a sort of button with an "x" to clear it is better than making them delete the text to clear their selection.

It would be great if I could set a maxSelected prop with multiple to get this behavior:

<Typeahead multiple maxSelected={1} options={[...]} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions