Skip to content

[Request] autocompleteMultiselect Grouping #524

Open

Description

@beeequeue

Is your feature request related to a problem? Please describe.
this was found during testing of Changesets moving to @clack/prompts, where the current CLI has a grouped multiselect with search.

the current groupMultiselect does not support search/autocomplete, and autocompleteMultiselect does not support grouping - and thus this issue exists :)

Describe the solution you'd like
i'm not sure what the best solution would be since it most likely depends on the implementation details of the existing functions.

Describe alternatives you've considered
using either of them, losing out on the functionality of the other :^)

Additional context
changesets/changesets#1879
clack refactor thread in the Changesets Discord

Activity

  1. beeequeue commented on May 6, 2026

    @beeequeue
    Author

    would it make sense to merge select+multiselect+groupMultiselect and autocomplete+autocompleteMultiselect and then reusing the same grouping functionality in autocomplete?

  2. 43081j commented on May 6, 2026

    @43081j
    Collaborator

    I don't think so. That's a big api surface change and they each do have their own rendering behaviour on purpose. They do share some underlying behaviours but ultimately need their own rendering.

    If we unify them, we will just end up with a super prompt that has far too many options and branches.

    For this particular issue, I'd investigate how difficult it is to have groups in the auto complete prompts. Not a new prompt but just making the auto complete one understand grouping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions