Skip to content

feat: add required option to autocomplete multiselect #329

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

Merged
merged 3 commits into from
May 26, 2025

Conversation

43081j
Copy link
Collaborator

@43081j 43081j commented May 25, 2025

Adds a new required option to the autocomplete multiselect prompt.

When set, this will show an error if no options are selected.

Fixes #327

Adds a new `required` option to the autocomplete multiselect prompt.

When set, this will show an error if no options are selected.
Copy link

changeset-bot bot commented May 25, 2025

🦋 Changeset detected

Latest commit: 9afd483

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clack/prompts Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented May 25, 2025

@example/basic@example/changesets

npm i https://pkg.pr.new/bombshell-dev/clack/@clack/core@329
npm i https://pkg.pr.new/bombshell-dev/clack/@clack/prompts@329

commit: 9afd483

Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @43081j 😁

@43081j 43081j merged commit 9bd8072 into main May 26, 2025
6 checks passed
@43081j 43081j deleted the autocomplete-required branch May 26, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request] Hope autocompleteMultiselect and multiselect can maintain the same parameters
2 participants