Skip to content

feat: add required option to autocomplete multiselect#329

Merged
43081j merged 3 commits intomainfrom
autocomplete-required
May 26, 2025
Merged

feat: add required option to autocomplete multiselect#329
43081j merged 3 commits intomainfrom
autocomplete-required

Conversation

@43081j
Copy link
Copy Markdown
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.
@changeset-bot
Copy link
Copy Markdown

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

@pkg-pr-new
Copy link
Copy Markdown

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
Copy Markdown
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