Sweetalert
Hello sir/ma'am; I'm using metronic 7 and I want to have 3 buttons in sweetalert so how to update to latest version of sweetalert so that this feature will work?
This is the problem I encoutered
plugins.bundle.js:78732 SweetAlert2: Unknown parameter "showDenyButton"
_ @ plugins.bundle.js:78732Understand this warning
plugins.bundle.js:78732 SweetAlert2: Unknown parameter "denyButtonText"
Replies (1)
Hi,
Noted, we will check which latest version of SweetAlert is compatible with Metronic v7.
Which build method do you use? Gulp or Webpack ?
Basically, you will need to update the sweetalert package version in packages.json and reinstall it using NPM or Yarn. Then recompile the core js bundle with Gulp or Webpack
Regards.