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 / HTML text showing plac...
Power Apps
Answered

HTML text showing placeholder before fully loaded

(0) ShareShare
ReportReport
Posted on by 319

Hi!
In a form to display information on specific items, I am using HTML-text.

 

When opening this screen, before det form is fully loaded, I see the hideous "standard HTML text" on the screen.

It does not last for too long, but enough for it to be annoying.

 

I have the following code for HtmlText:

If(
 CountRows(Filter('List',Location = myLocation && ItemNo = Value(DatacardItemNo.Default))) > 1,
"<b><p style ='text-align:left'>" & "ID:</b> " & ThisItem.ItemNo & " (duplicate)</p>",
"<b><p style ='text-align:left'>" & "ID:</b> " & ThisItem.ItemNo & "</p>"
)

 

Fill:

If(
 CountRows(Filter('List',Location = myLocation && ItemNo = Value(DatacardItemNo.Default))) > 1,Red,RGBA(255, 255, 255, 0)
)

 

I guess it is due to the Datacard loading a little slow, but is there any way to rewrite this to make it not display the HTML-placeholder default text? 

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    You could hide the html text when the data is not loaded yet.

    Try setting the visible property of the html text control to !IsBlank(DatacardItemNo.Default)

  • grandtotal Profile Picture
    31 on at

    You can also use the Coalesce() function.

    If(
     CountRows(Filter('List',Location = myLocation && ItemNo = Value(DatacardItemNo.Default))) > 1,
    Coalesce("<b><p style ='text-align:left'>" & "ID:</b> " & ThisItem.ItemNo & " (duplicate)</p>", " "),
    Coalesce("<b><p style ='text-align:left'>" & "ID:</b> " & ThisItem.ItemNo & "</p>", " ")
    )

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard