cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndyParrott
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
RajnishP
Advocate IV
Advocate IV

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

7 REPLIES 7
v-micsh-msft
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.
RajnishP
Advocate IV
Advocate IV

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

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

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.

Honestly I cannot thank you enough.  This fixed everything!

 

@RajnishP , where does this get changed at ?

 

You can try PlainText(ThisItem.Answer).

 

and do i need to change  my sharepoint datatype ?

 

david

Hi @DAVIDPOWELL , 

You need not to change data type.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,898)