Open dann1609 opened 6 years ago
Try using sweetalert v2.1.0
, which should automatically replace \n
with <br>
seems not to work with a return json...
Edit: I bypassed using
swal(resJSON.title, (resJSON.message).replace('<br>', "\n"), resJSON.type);
there is a way to get multiple row in subtitle, I tried some ways described in another issues but no one working.
not working