Skip to content

showInputBox should have the ability to have an array of quickpick options as well #23633

@xconverge

Description

@xconverge

If you do showInputBox, you can receive input from a user.

If you do showQuickPick you can have the user choose from a list.

There is no way to receive input from a user AND show a list of choices.

If you try this with showQuickPick, and the user enters something that is not in the array, undefined is returned.

I think that showInputBox should have an overload that displays options just like in showQuickPick and returns the value instead of undefined if it is not an entry from the array.

Metadata

Metadata

Labels

apifeature-requestRequest for new features or functionalityquick-pickQuick-pick widget issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions