Dialog never enter the confirm method
See original GitHub issueHi,
We’re having issues with your plugin. We’re using it with the <script> include and, following the documentation, we declare
window.Vue.use(VuejsDialog.default);
Here is our code
this.$dialog.confirm('Confirm delete', {
loader: true,
okText: 'Yes',
cancelText: 'No'
})
.then(function (dialog) {
console.log('confirm');
dialog.close();
});
The code never enters the then function and it throws a message in the console :
Possible Unhandled Promise Rejection: undefined
We tried without the loader, same error.
Thanks 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
How to Use Confirm Dialogs in JavaScript - Shahed Nasser
In this tutorial, we'll learn how to use confirm() and how to show confirmation dialog before the user leaves the page.
Read more >javascript - confirmation dialog isn't showing - Stack Overflow
I'd like to request a review/bashing of this circuit for a high precision soil moisture sensing and analysis device. Where did I go...
Read more >Confirm Yes or No With JavaScript - Code - Envato Tuts+
There are some drawbacks of using the confirm method to get user confirmation. One is that the confirmation dialog will not be part...
Read more >Need Help with Confirm Dialog - ServiceNow Community
I am writing a client script, which is supposed to give a confirmation dialog having 'Ok' & 'Cancel' buttons when the category of...
Read more >need help with FORM.confirm - Google Groups
The dialog simply does not pop up and never enters the if form.accepted clause. Looking at the pages source does not show up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Godofbrowser Got it, had to go the v-confirm way to get it working.
Got the following errors:
have already tried your above syntax as well.l