Set state with a new line in value

When setting a state for a multiline input, I’d like to put a new line between some text in the “value” section but it’s not permitted. Below I indicated where I wanted the new line between two paragraphs (fully realizing the state values don’t take regex, this is just to illustrate where I want the line break). Is there any way to do this?

Did you try join with “line_break”? It works in text elements.

1 Like

Use arbitrary text

2 Likes

Hmm something like this you mean?

I tried but Bubble doesn’t allow you to mix and match database data with string literals in state values if I’m not mistaken. Unless you can think of another way?

1 Like

Ah, yes- thanks, @eli!

1 Like

No need to double “” each side, just insert line_break

I mention it for future use cases :sweat_smile:

1 Like

Thank you, @NoCodeDataArtisan was being too hasty and didn’t want to keep you waiting :slightly_smiling_face:

1 Like

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