Closed sarphu closed 6 years ago
swal({
content: {
element: "input",
attributes: {
value: "pre-filled text",
},
},
});
@t4t5 s solution seems to work, except if it is never edited, in which case the swal returns an empty string, regardless of the pre-filled value
on pop up of swal. is there any method to prefill them, e.g. for editing a text