-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input box: do not close when pressing ENTER on invalid input #45583
Labels
feature-request
Request for new features or functionality
quick-pick
Quick-pick widget issues
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
Comments
jrieken
added
feature-request
Request for new features or functionality
quick-pick
Quick-pick widget issues
labels
Mar 12, 2018
/cc @chrmarti |
bpasero
changed the title
Unable to tell the difference between a user pressing <escape> or pressing <enter> with an invalid value in showInputBox
Input box: do not close when pressing ENTER on invalid input
Mar 12, 2018
This was fixed a while ago. |
Yep, works for me. Thanks :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature-request
Request for new features or functionality
quick-pick
Quick-pick widget issues
verification-needed
Verification of issue is requested
verified
Verification succeeded
It's confusing that when
showInputBox
is given an invalid value that pressing<enter>
just closes the box and returnsundefined
. 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.The text was updated successfully, but these errors were encountered: