# Linebreak in \<textarea\> in ui\_template

**URL:** <https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248>\
**Category:** Dashboard\
**Created:** [30 June 2020 16:10 UTC](https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248 "2020-06-30T16:10:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rs3hc](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@Rs3hc](https://discourse.nodered.org/u/Rs3hc)\
**Post date:** [30 June 2020 16:10 UTC](https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248/1 "2020-06-30T16:10:54Z")

</div>

Little problem.

Have a template node in which a html textarea is created.

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9a15505011d1ad3964316cf77f637578b42afcbb.jpeg)  
Now I would like to place some numbers (1 2 3 4) there.  
However, each number should be on a new line.  
The following attempts with control characters failed and were displayed in plain text in exactly the same way.

1  
2  
3  
4  
1  
2  
3  
4  
1\n2\n3\n4  
1\r\n2\r\n3\r\n4

Someone got an idea?

---

<div class="post-metadata">

**Author:** ![Rs3hc](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@Rs3hc](https://discourse.nodered.org/u/Rs3hc)\
**Post date:** [30 June 2020 16:11 UTC](https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248/2 "2020-06-30T16:11:30Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8a52502237af73c57e18558f37ed8f96e08c6b85.jpeg)

---

<div class="post-metadata">

**Author:** ![Rs3hc](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@Rs3hc](https://discourse.nodered.org/u/Rs3hc)\
**Post date:** [30 June 2020 16:17 UTC](https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248/3 "2020-06-30T16:17:27Z")

</div>

Also is not working. in real html it works perfect... 😩

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/4344ba9bbe1ce945e399b05b974409beecd141eb.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 July 2020 16:17 UTC](https://discourse.nodered.org/t/linebreak-in-textarea-in-ui-template/29248/4 "2020-07-30T16:17:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
