web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / plaintext() - seems to...
Power Apps
Unanswered

plaintext() - seems to work additionally like patch() - normal? can it be prevented?

(1) ShareShare
ReportReport
Posted on by 177
Dear all,
 
I am using plaintext function in the value property of a modern textcontrol with a sharepoint rich text column, since otherwise the modern textcontrol shows my a html code instead of a text.
 
Peculiarly I have just found out, that every time I save an item in my app, the item always gets updated in the new version in the mentioned rich text column - no matter, whether I do change the text in the control or not.
 
If I don't use plaintext() function, this doesn't happen - as expected it only updates the item, if I change the text in the control. If I don't - it doesn't happen.
 
I could find no data on this - Is it known? Intended? Or is it some sort of a bug?
 
It doesn't do any harm actually, but each version of the item lists the updates of all columns using plain text with same values all over again - this is a little bit annoying and could cause unwanted question on user's side.
 
Still - any way to prevent this from happening?
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    Hi,
     
    So you are using a Text Input Control?

    And you have loading it with Data, from a Rich Text Column in SharePoint.

    You are changing the Formatting so it doesn't show the HTML.

    I would expect it to update the column in SharePoint, yes, because you are in fact changing what is in there. is this on a Form and you doing a SubmitForm? If so that's why.
  • Nuriel Profile Picture
    177 on at
    I am using patch function instead of submitform.
     
    Still, I don't quite understand why it happens - I mean, why would it update, when nothing gets changed? The content is already formatted - why would it update the column on saving then?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard