Skip to content
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

Enter key on a prompt returns null value #52

Open
kcdrez-dwd opened this issue Apr 16, 2019 · 5 comments
Open

Enter key on a prompt returns null value #52

kcdrez-dwd opened this issue Apr 16, 2019 · 5 comments

Comments

@kcdrez-dwd
Copy link

When pressing the enter key on a prompt dialog, the dialog.data is null.

this.$dialog.prompt({ title: "My Title", body: "Some instructions on what to enter in the prompt." }) .then(dialog => { console.log(dialog); //when clicking the continue button, the dialog.data is what is expected. however, if the enter key is pressed, the dialog is closed, but dialog.data is null })

@tkrause
Copy link

tkrause commented Jun 26, 2019

Can confirm this is still an issue

@fr-ser
Copy link
Contributor

fr-ser commented Jun 29, 2019

I can take a stab at this "bug". Or is this already being fixed somewhere else? @Godofbrowser

@Godofbrowser
Copy link
Owner

Godofbrowser commented Jun 29, 2019 via email

@fr-ser
Copy link
Contributor

fr-ser commented Jun 29, 2019

@Godofbrowser should I do it in the master branch or the branch "Feature/prompt"?

@Godofbrowser
Copy link
Owner

Godofbrowser commented Jun 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants