score:1

Accepted answer

the <textarea> is likely controlled via the library's css so even if you set rows and cols, the css dictates styling. if so, you'll have to either edit the library's css, override it with your own css, or give it an inline style.

myswal.fire({
    // other settings...
    html:
        '...other html' +
       '<textarea style="height: 200px; width: 400px"></textarea>'
});

Related Query

More Query from same tag