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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding a 'wait second'...
Power Apps
Unanswered

Adding a 'wait second' to a function

(1) ShareShare
ReportReport
Posted on by 30

Hello, 

 

I have a text input box that is used to populate my gallery page. The textinput is set to blank and when user types, it will start populating results that match below. 

 

The problem:

I've found that as the user types it populates results and the app gets a little hung up as you type becuase it keeps trying to pull different records as you add each letter. 

 

The question:

Is it possible to add something in the function (or formula), to tell it to wait a second before it populates the gallery. In other words, it gives the user a second to finish typing the search before it populates the gallery page. 

 

Here is my current code that is pulling records. 

SortByColumns(Search(Table1,TextInput1.Text,"ADDRESS","CITY","Mall Name","Location / Dealer Name (Primary)"),"Location / Dealer Name (Primary)")

Any help will be greatly appreciated!

Nick

 

Categories:
I have the same question (0)
  • Verified answer
    CarlosFigueira Profile Picture
    on at

    You can use the 'DelayOutput' property of the text input control - that will give you exactly (*) what you want, a delay between the time the user is typing in the text input and the moment its Text property is updated. If that property is set to true, the output property is only updated after the user stops typing (for half a second).

     

    (*) Not exactly, as the delay that is added is of 500ms instead of a second, but it should help your scenario.

  • NickK Profile Picture
    30 on at

    Thank you! works perfectly

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard