Skip to content

fix(prompts): submit initial directory value in path prompt#484

Open
dreyfus92 wants to merge 2 commits intomainfrom
fix/path-dir-def
Open

fix(prompts): submit initial directory value in path prompt#484
dreyfus92 wants to merge 2 commits intomainfrom
fix/path-dir-def

Conversation

@dreyfus92
Copy link
Member

this pr fixes path directory mode so when an existing directory is provided as initialValue, pressing enter immediately submits that current directory instead of the first child option.

closes: #477

@changeset-bot
Copy link

changeset-bot bot commented Mar 9, 2026

🦋 Changeset detected

Latest commit: d5f5257

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 Patch

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

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.

[Bug] path directory cant direct select default value

2 participants