cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Eitan1112
Level: Power Up

HTML Text removes line breaks & Text Input direction is only ltr

Hello!

I have a powerapp that takes data from a powerapps form, sends it to a sharepoint list, and then shows it on a different screen. My problem is this - when I use 'HTML Text' to view a long text (2 or 3 paragraphes), all the line breaks get jammed and the entire text is without linebreaks.

 

When I switch to regular 'Text Input' the line breaks are perfect - but I can't find a way to change the direction of the text to rtl (not align - direction), which makes it impossible to read text in hebrew and english combined (which is a major need in my powerapps). That problem I managed to solve inside 'HTML Text' by writing:

"<div style=direction:rtl;text-align:right>" & TextInput4.Text & "</div>"

But that won't work inside the 'Text Input'.

 

So in conclusion, I need only one solution - Either for linebreak in 'HTML Text' or text direction in 'Text Input'.

 

Thanks in advance,

Eitan.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
jhall
Level 8

Re: HTML Text removes line breaks & Text Input direction is only ltr

Might want to do a substitute on the text value to replace the default (e.g. Char(10)) with an HTML appropriate break (e.g. <br>).

 

See a detailed discussion here.

View solution in original post

3 REPLIES 3
Highlighted
jhall
Level 8

Re: HTML Text removes line breaks & Text Input direction is only ltr

Might want to do a substitute on the text value to replace the default (e.g. Char(10)) with an HTML appropriate break (e.g. <br>).

 

See a detailed discussion here.

View solution in original post

Eitan1112
Level: Power Up

Re: HTML Text removes line breaks & Text Input direction is only ltr

Thank you very much! Worked

 

Monty_Baird
Level: Powered On

Re: HTML Text removes line breaks & Text Input direction is only ltr

Worked perfectly for me.  Thanks Jhall!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 318 members 5,290 guests
Please welcome our newest community members: