cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft Employee

DelayOutput property of TextInput control

Is there any documentation for this property?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
mr-dang
Level 10

Re: DelayOutput property of TextInput control

I'm not sure about documentation, but in my experience using it, there is about a second delay before any changes to the TextInput control are detected after typing and clicking out/pressing Enter/pressing Tab. It just takes true/false as an argument.

 

For instance, I have a Gallery whose Items are Filtered depending on what is inputted into the TextInput control.

  • With DelayOutput set to false, which is default, the Gallery will be filtered as soon as any text is typed. If you have a gallery with lots of items, reloading the Gallery with changes right away slows down performance; it would be more advantageous to wait a little. This is practical when you are using the TextInput for a search string (See Search or the new StartsWith functions).
  • With DelayOutput set to true, there is a second delay before the changes are detected. This is done to give you time to finish typing what you want. The delay works well when used to aid the TextInput.OnChange property. If you have actions tied to changes, you don't want them triggered until everything you want is typed into the field. 

There is no direct way to adjust the delay's duration, but I imagine you could use the TextInput.OnChange property to trigger a Timer control to start. Upon Timer.OnTimerEnd, it will activate whatever actions you intended. Set the Timer's duration to whatever you need.

 

Microsoft Employee
@8bitclassroom

View solution in original post

2 REPLIES 2
Highlighted
mr-dang
Level 10

Re: DelayOutput property of TextInput control

I'm not sure about documentation, but in my experience using it, there is about a second delay before any changes to the TextInput control are detected after typing and clicking out/pressing Enter/pressing Tab. It just takes true/false as an argument.

 

For instance, I have a Gallery whose Items are Filtered depending on what is inputted into the TextInput control.

  • With DelayOutput set to false, which is default, the Gallery will be filtered as soon as any text is typed. If you have a gallery with lots of items, reloading the Gallery with changes right away slows down performance; it would be more advantageous to wait a little. This is practical when you are using the TextInput for a search string (See Search or the new StartsWith functions).
  • With DelayOutput set to true, there is a second delay before the changes are detected. This is done to give you time to finish typing what you want. The delay works well when used to aid the TextInput.OnChange property. If you have actions tied to changes, you don't want them triggered until everything you want is typed into the field. 

There is no direct way to adjust the delay's duration, but I imagine you could use the TextInput.OnChange property to trigger a Timer control to start. Upon Timer.OnTimerEnd, it will activate whatever actions you intended. Set the Timer's duration to whatever you need.

 

Microsoft Employee
@8bitclassroom

View solution in original post

Microsoft Employee

Re: DelayOutput property of TextInput control

Sounds right! Thanks for explaining 🙂

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,167)