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
Prompt fire reject if okey pressed with empty value #2
Comments
mnill
changed the title
Prompt rejection if okey pressed with empty value
Prompt fire reject if okey pressed with empty value
Mar 12, 2020
I'm editing existing values using $prompt and want to support empty values as well. Due to the current implementation, I get an error when the user wants to remove the existing value. To workaround this, l I've copied the $prompt method and added a modified version to my project. This is the code I use:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vue-simple-alert/src/index.ts
Line 84 in cc0eaa5
must be
if ('value' in r) {
The text was updated successfully, but these errors were encountered: