-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityquick-pickQuick-pick widget issuesQuick-pick widget issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
It's confusing that when showInputBox
is given an invalid value that pressing <enter>
just closes the box and returns undefined
. I've had users that have said things are broken because they typed a value and pressed enter - their value was invalid and they didn't notice the prompt (because they typed and pressed enter quickly).
Either we should be able to tell when the user pressed <enter>
on an invalid value, or they shouldn't be able to - the box should just stay visible with the validation error until the fix it or use <esc>
to cancel.
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityquick-pickQuick-pick widget issuesQuick-pick widget issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded