I have an input
element which renders the value from the database and does live edit of the input values with Ajax call. The problem is when I put text longer than the input element width, instead of showing the text on a new line the text remains on the same line. I was trying to make a dynamic input element which can adjust it's height according to the value render from the Database.
My current output:
My current output of the input element
My input element code:
<input class="topic-dynamic" style="height:100%; margin-top:60px; font-size:3em; letter-spacing:-0.04; text-align:left; font-weight:600;" value="'.$topic.'" onkeypress="updateThedynamicContent()">