JSFiddle - React, Tailwind, and code Playground
HTML
<input id="hello" value="testing" name="em_attributes[Details]"/>
JavaScript
$( document ).ready(function()
{
var input=document.getElementsByName("em_attributes[Details]")[0];
textarea = document.createElement('textarea');
textarea.id = input.id;
textarea.cols = 55;
textarea.rows = 5;
textarea.value = input.value;
input.parentNode.replaceChild(textarea, input);
});