[BUG] Can't line break Text Var within Struct in Data Table

Hello,

I can’t seem to add a line break to a Text Variable within a data table. Shift+Enter does nothing. /n does nothing.
HTML style br tags do nothing. Normally Shift+Enter works, but this does not. I even tried copying directly from a .txt file with line breaks, it just ignores them.

Is this intended behavior? Is there some kind of code like /n I can type in that will line break Text var within a data table (within a struct)?

Thanks!

Hi Zaggoth,

Shift+Enter causes a line break for me. What steps are you taking to reproduce this on your end? I’ve attached images of what I set up and what I’m seeing on my end using Shift+Enter to add line breaks, are you seeing a different result?

109661-test.png

109650-linebreak.png

Hi ,
I am unable to do a line break like that while trying to fill in a Text Variable within a Data Table, specifically.

I can definitely do what you’re doing there, but that is not the issue I’m experiencing.

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here. You can track the report’s status as the issue is reviewed by our development staff.

Any update?

Yes! an update. It still doesn’t do anything in 4.18 :slight_smile:

Bug UE-36818 has been marked as a non issue in Epics tracker.
I guess we won’t get a fix till they need it for Fortnite. ¯\(ツ)

Still not fixed.

For anyone running into this issue in the future:

This is just caused by the “Multi Line” meta setting on FText defaulting to false. You can now tick the “Multi-Line Text” option in the struct definition to fix the problem.

280933-magic.jpg

If you’re running into the same issue in CPP define the FText in your struct with Mult-line as true, you can add line-breaks in the details view.

For example:

UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "idk", meta = (MultiLine = true))
1 Like

Thanks MugenCity. Your comment has saved me a lot of frustration.

Solved for me as follows:

“This is just caused by the “Multi Line” meta setting on FText defaulting to false. You can now tick the “Multi-Line Text” option in the struct definition to fix the problem.”

Thank you! It solved my issue!