Godofbrowser/vuejs-dialog

Enter key on a prompt returns null value

kcdrez-dwd opened this issue · 5 comments

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 })

Can confirm this is still an issue

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

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