cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
itsmeqp
Level: Powered On

Labels and Carriage Return Issue

I use to be able to have Carriage Returns in Labels by using the Char function:

 

"Line 1" & Char(13) & "Line 2"

 

Which would look like:

 

Line 1
Line 2

 

Now the label just appears as a single line with the Carriage Return omitted:

 

Line 1Line 2

 

With the latest PowerApps release, it appears labels no longer support the use of Char(13)? Multiline is still supported when I try (which is awful to deal with in the Formula Bar):

 

"Line 1" & "
" & "Line 2"
7 REPLIES 7
Community Support Team
Community Support Team

Re: Labels and Carriage Return Issue

Hi @itsmeqp ,

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. I think this issue is related to the updates of PowerApps.

 

As an alternative solution, I think the Char(10) function could achieve your needs. Please take a try with the following workaround:14.JPG

Set the Text property of the Label control to following:

"Line 1" & Char(10) & "Line 2"

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GBinGB
Level: Powered On

Re: Labels and Carriage Return Issue

Same problem. Char(13) and Char(10) no longer functioning [ie no Line Break/Carriage Return] on an app first published many month ago.

Labels used to have multiple lines of text, but are now on one line.

Community Support Team
Community Support Team

Re: Labels and Carriage Return Issue

Hi @itsmeqp ,

Have you taken a try with the solution I provided?

 

If the solution I provided above could achieve your needs, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GBinGB
Level: Powered On

Re: Labels and Carriage Return Issue

It is NOT a solution. Using Char (10) does not work, nor does Char (13). See images.

 

Powerapps Release: 3.19062.20

GBinGB
Level: Powered On

Re: Labels and Carriage Return Issue

Update - to clarify:

Using Buttons - Char (10) [Line Feed] and Char (13) [Carriage Return] no longer work.

Using Labels - Char (10) does produce a new line.

However, this now requires re-visiting multiple buttons & labels.

Feel my non-happiness......

rmcleod45
Level: Powered On

Re: Labels and Carriage Return Issue

I don't believe this solution works for the Text control in buttons:

"Line 1" & "
" & "Line 2"

At least I wasn't able to make it work. 

itsmeqp
Level: Powered On

Re: Labels and Carriage Return Issue

@v-xida-msftThe workaround achieves my needs, but I agree with the other users that this is not a solution. Is there any intent of having this resolved?