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

Multi-line textbox ends up with <DIV> text in it

I created a simple powerapps form for a test sharepoint list. The list includes a multi-line text box. But the textbox always ends up with some <div class=..." text displayed in it. Like this....

 

Capture3.PNG

 

There is also the issue of the "No item to display" stuff appearing there.

 

I've tried in both IE and Chrome.

 

Any suggestions for a workaround?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate III
Advocate III

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

7 REPLIES 7
Highlighted
Community Support
Community Support

Hi @AndyParrott,

 

This issue should be caused by the Rich Text for the Multi-line field in SharePoint list.

You may take a try to switch the Label control into an HTML text control, which could handle the Rich Text format.

Adding the control reference:

HTML text control in PowerApps

 

Also there is a similar thread for your reference:

Multiple line sharepoint columns problems

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate III
Advocate III

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

Highlighted
Helper IV
Helper IV

I am sure you have found a solution by now , i am replying in case someone else have the same issue . What fixed it for me was changing the type of text in n SharePoint column setting to Plain text instead of rich text or Enhanced rich text (Rich text with pictures, tables, and hyperlinks. 

Highlighted

Thank you!  I have searched many places to find the 'simple answer' to this.  

I went to my SP site, changed the field to PLAIN TEXT!  Worked like a charm.

I did not need to do anything to the form, it just fixed the issue.

Highlighted

Honestly I cannot thank you enough.  This fixed everything!

 

Highlighted
Continued Contributor
Continued Contributor

@RajnishP , where does this get changed at ?

 

You can try PlainText(ThisItem.Answer).

 

and do i need to change  my sharepoint datatype ?

 

david

Highlighted

Hi @DAVIDPOWELL , 

You need not to change data type.

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 (11,824)