I am looking to line break on placeholder of textarea on reactjs
So far I have tried to use \n
, <br>
, nl2br
, \\n
and none of them worked
<Input type="textarea" name="txtarea" placeholder="Line1 \n Line2" />
The current output im getting all in the same line as Line1 \n Line2
My goal is to have them out on a separate line as
Line1
Line2