cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
itsmeqp
Advocate III
Advocate III

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"
10 REPLIES 10
v-xida-msft
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.

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.

v-xida-msft
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.

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

 

Powerapps Release: 3.19062.20

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

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

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

Thanks it worked for me appreciate it

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,268)