cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

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"
8 REPLIES 8
Highlighted
Community Support
Community Support

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.
Highlighted

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.

Highlighted
Community Support
Community Support

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.
Highlighted

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

 

Powerapps Release: 3.19062.20

Highlighted

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......

Highlighted
Frequent Visitor

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. 

Highlighted

@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?

Highlighted

Use "<br>" instead of Char(10).

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (4,056)