# Multiline input not displaying initial content correctly

**URL:** <https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865>\
**Category:** Bugs\
**Created:** [May 7, 2025, 2:34am UTC](https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865 "2025-05-07T02:34:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ge.szeto](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@ge.szeto](https://forum.bubble.io/u/ge.szeto)\
**Post date:** [May 7, 2025, 2:34am UTC](https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865/1 "2025-05-07T02:34:03Z")

</div>

I have a multi-line input box (call this MB1) with a limit on the # of characters (say 100)

The text from this input is stored in a database field A (call this DBA)

Initial content for MB1 is set to DBA

I have 2 other multi-line inputs (Call these MB2) for users to add text data to field A, action for the submit button will check to ensure the number of characters currently in field A + number of characters from MB2 is \<= 100.

A popup dialog box is displayed if the # of characters is \> 100 to inform the user that they’ve exceed the maximum # of characters and they need to remove some before adding more

I have a tab interface using buttons, where either MB1 or MB2 is displayed on the page, when one is displayed / active, the other is hidden

Workflow for issue

- I submit data from MB2
- I see that the data from MB2 is correctly added into database field A
- But when click the button to have MB1 displayed, it does not auto refresh and display the newly added data from MB2
- It only displays the new data if I manually refresh the page
- Since initial content for MB1 is set to DBA, I would expect every time MB1 is hidden and then displayed, it will refresh with data from DBA

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [May 7, 2025, 6:40am UTC](https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865/2 "2025-05-07T06:40:59Z")

</div>

> [@ge.szeto](#):
>
> Since initial content for MB1 is set to DBA, I would expect every time MB1 is hidden and then displayed, it will refresh with data from DBA

You are not wrong to expect that. I think every developer does, except for the engineers who built the bubble multiline input element. So because of that, we need to put the multiline input element into a group and then use the action to reset group data which will refresh the multiline input element to update itself.

I believe the issue a simple fix to make the code for the multiline input element to update when the data is updated, but I don’t think Bubble has plans to do it as this issue has existed since multiline input element introduced.

And I do not think (I might be wrong, my memory hardly serves its purpose) that using the actions of reset input works for multiline input element.

---

<div class="post-metadata">

**Author:** ![ge.szeto](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@ge.szeto](https://forum.bubble.io/u/ge.szeto)\
**Post date:** [May 8, 2025, 3:40am UTC](https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865/3 "2025-05-08T03:40:52Z")

</div>

Thank you! Resetting the parent group did the trick, and you’re correct, I tried reset input and that didn’t work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 21, 2025, 2:34am UTC](https://forum.bubble.io/t/multiline-input-not-displaying-initial-content-correctly/368865/4 "2025-05-21T02:34:33Z")

</div>

Closed on May 21, 2025, 2:34am UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
