Skip to content

fix(cli): ignore space in custom input mode#21752

Merged
mtojek merged 1 commit intomainfrom
fix-internal-560
Jan 29, 2026
Merged

fix(cli): ignore space in custom input mode#21752
mtojek merged 1 commit intomainfrom
fix-internal-560

Conversation

@mtojek
Copy link
Member

@mtojek mtojek commented Jan 29, 2026

Fixes: coder/internal#560

"Select" CLI UI component should ignore "space" when +Add custom value is highlighted. Otherwise it interprets that as a potential option... and panics.

Testing:

go run ./cmd/coder exp prompt-example multi-select-no-defaults  --enable-custom-input

@mtojek mtojek marked this pull request as ready for review January 29, 2026 13:13
@mtojek mtojek requested a review from johnstcn January 29, 2026 13:33
@mtojek mtojek merged commit bb7b49d into main Jan 29, 2026
50 of 52 checks passed
@mtojek mtojek deleted the fix-internal-560 branch January 29, 2026 13:40
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic in exp multiselect prompt-example

2 participants