# Getting line breaks into a text area?

**URL:** <https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [April 13, 2022, 3:17pm UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419 "2022-04-13T15:17:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [April 13, 2022, 3:17pm UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/1 "2022-04-13T15:17:25Z")

</div>

Using vision.

I have a database table that has addresses in it as text. They seem to have line breaks built in, as when I populate a text area with them, they look like an address should

```python
123 Fake Street
Some City, NJ 12345

```

Now I am trying to add a new row to the database and have it populate the text area as welll but it comes through as

```python
123 Fake Street Some City, NJ 12345

```

I tried inserting `\n` and `\r\n` but not to no success. Not sure what else to try. Any ideas?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [April 13, 2022, 3:44pm UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/2 "2022-04-13T15:44:31Z")

</div>

Nevermind, the `\n` was enough - Just forgot to refresh the data property that drove the text 🙃

---

<div class="post-metadata">

**Author:** ![Zach\_Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zach_larson/32/54388_2.png) [@Zach\_Larson](https://forum.inductiveautomation.com/u/Zach_Larson)\
**Post date:** [August 1, 2024, 11:31am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/3 "2024-08-01T11:31:02Z")

</div>

\n is not working for me. What did you do?

\n worked in the text area object, but not in the the other text object.  
Now I just need to figure out how to center the text in the area and get rid of the border. I don't see a video that explains this stuff.

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [August 1, 2024, 11:51am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/4 "2024-08-01T11:51:34Z")

</div>

Using **Markdown** component you can do line breaks.

---

<div class="post-metadata">

**Author:** ![Zach\_Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zach_larson/32/54388_2.png) [@Zach\_Larson](https://forum.inductiveautomation.com/u/Zach_Larson)\
**Post date:** [August 1, 2024, 12:03pm UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/5 "2024-08-01T12:03:03Z")

</div>

I ended up going with a label using html.  
Found all the properties were being hidden by some filter on my current designer.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 1, 2024, 1:03pm UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/6 "2024-08-01T13:03:18Z")

</div>

> [@Alejandro\_Alaco](#):
>
> Using **Markdown** component

Vision doesn't have a markdown component. You should check the tags on topics to avoid giving bad advice.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [August 3, 2024, 9:39am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/7 "2024-08-03T09:39:23Z")

</div>

> [@Zach\_Larson](#):
>
> properties were being hidden by some filter

If we had a dime for every time we've heard that...

I read somewhere that the dropdown filter is going away in 8.3

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 4, 2024, 2:20am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/8 "2024-08-04T02:20:01Z")

</div>

> [@justinedwards.jle](#):
>
> If we had a dime for every time we've heard that...

We'd likely suffocate from being buried under a pile of dimes?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [August 4, 2024, 2:49am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/9 "2024-08-04T02:49:54Z")

</div>

> [@JordanCClark](#):
>
> suffocate from being buried under a pile of dimes?

Nicely done!

To be honest, I wasn't sure how to finish the sentence. In the past, we could simply say something like: "...I'd buy a [insert something of value here]", but unfortunately, with inflation being the way it currently is, I couldn't imagine anything of significance that a pile of dimes could purchase! 🤣

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 4, 2024, 5:12am UTC](https://forum.inductiveautomation.com/t/getting-line-breaks-into-a-text-area/58419/10 "2024-08-04T05:12:04Z")

</div>

It's a heavily paraphrased version of this:

 ![Screenshot_20240804_010706_Chrome](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/7/87ef00d702159c49a645554db9c732632c217a22.jpeg)
