-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
showInputBox - initial value is not returned, if user presses enter without making a change #11503
Comments
Running into same issue. Version 1.5 on OS X 10.10.3. Default value is not returned if user does not type in the input box. Thank you. |
Also noticed this as well when working on my extension. |
Is this issue fixed? Does "closed" mean it's fixed? I still am experiencing the same issue, where I have to modify the default value before the input is accepted. Any thoughts? |
@riteshatsencha fixed for 1.6.0 which will be released end of week. |
Per new bug report (#33691). When pressing enter with no input, if there is a validateInput function, if the default value is invalid, then the default value is still passed as an accepted return value.
expected behavior would be to run the validator first and respond as per usual valid state (prevent acceptance) (alternately, react as if cancelled) editing the input box then deleting it again to become invalid works as expected |
If the user presses enter without typing, '' is returned. If they type anything, the correct value is returned.
OSX, 1.5.0-insider but not 1.4.
The text was updated successfully, but these errors were encountered: