# How To Keep Line Breaks In Database When Editing?

**URL:** <https://community.forestadmin.com/t/how-to-keep-line-breaks-in-database-when-editing/6209>\
**Category:** Help me!\
**Tags:** howtos, dashboard\
**Created:** [April 22, 2023, 2:53am UTC](https://community.forestadmin.com/t/how-to-keep-line-breaks-in-database-when-editing/6209 "2023-04-22T02:53:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emily](https://avatars.discourse-cdn.com/v4/letter/e/8c91f0/32.png) [@emily](https://community.forestadmin.com/u/emily)\
**Post date:** [April 22, 2023, 2:53am UTC](https://community.forestadmin.com/t/how-to-keep-line-breaks-in-database-when-editing/6209/1 "2023-04-22T02:53:40Z")

</div>

Hi,

We are using a MongoDB & all of our records have line breaks in them. They include certain emails we’ve had with customers, etc.

However, when I go to ‘edit’ & save a field in Forest Admin - it removes the line break that was initially in the field.

I notice that in Forest Admin it doesn’t even show line breaks as well, it’s just one large string of text.

Are we doing something wrong here? On Mongo it shows it with line breaks, but Forest Admin fails to show the same…

---

<div class="post-metadata">

**Author:** ![anon7311026](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anon7311026](https://community.forestadmin.com/u/anon7311026)\
**Post date:** [April 24, 2023, 8:57am UTC](https://community.forestadmin.com/t/how-to-keep-line-breaks-in-database-when-editing/6209/2 "2023-04-24T08:57:01Z")

</div>

Hi @emily,  
Thanks for reaching out to us.  
Could you please make sure that your field is configured this way ?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/d8e1c035ce3d7c693abe48c4d4586216db2a7b2f.png)

Text area / Multi line text should allow the behaviour that you are looking for.

Regards,

@anon7311026
