cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Continued Contributor
Continued Contributor

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
Continued Contributor
Continued Contributor

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

Highlighted
New Member

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

Thank you very much! Worked

 

Highlighted
Frequent Visitor

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

Worked perfectly for me.  Thanks Jhall!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,856)