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

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

7 REPLIES 7
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.
Advocate IV
Advocate IV

Hi @AndyParrott ,

 

You can try PlainText(ThisItem.Answer).

View solution in original post

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (63,014)