skeymeulen / swangular

Swangular: An AngularJS wrapper for Sweet Alert 2
MIT License
22 stars 10 forks source link

Can't get it tow work at all #11

Open GusBeare opened 5 years ago

GusBeare commented 5 years ago

I get this, Same happen whatever I do. Any ideas?

Cannot read property 'constructor' of undefined at SweetAlert (sweetalert2.js:2517) at Object.swal_success [as success] (swangular.js:77)

Is it related to breaking change?

https://github.com/t4t5/sweetalert/issues/889

affonso commented 5 years ago

Solved. (late, but solved) Version compatibility problem. Try use SweetAlert2 v 7.1.*. SweetAlert2 7.1.2