t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.38k stars 2.84k forks source link

How do we add javascript objects in the sweetalert text #991

Closed jazzybruno closed 2 years ago

jazzybruno commented 2 years ago

Hello Sweetalert I would like to ask how to include an object in the text property of the sweetalert

jazzybruno commented 2 years ago

Finally it works you just have to convert it to a string