cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SaWu
Level 8

DelayedOutput=true interfering with ResetForm in Screen.OnHidden

Hello

 

Please be so kind as to read my full post before responding.
Thank you for your consideration.

After I had some performance issues in one PowerApp, I started using DelayedOutput=true for my TextInput controls.
This helps in particular if TextInput.Text is referenced somewhere else.
See also here:
https://powerusers.microsoft.com/t5/General-Discussion/Frustrated-at-PowerApps-Slow-speed-when-using...

After this change, some forms were not resetting properly upon exiting and revisiting the screen.
I had in my Screen.OnHidden something like

Concurrent(
ResetForm(OrderForm),
ResetForm(OrderItem),
Reset(OrderSearchInput)
)


Workarounds that properly reset the Form:

  1. Setting DelayedOutput to false
  2. Using button on actual screen (with relevant Form) with ResetForm in OnSelect
  3. Move ResetForm to Screen.OnVisible

Only ResetForm in Screen.OnHidden combined with DelayedOutput=true does not seem to work.
The old input remains after exiting and reentering screen.

Session ID: 7c57b029-83b2-4d31-9a14-d33e7d24aca3
PowerApps 3.19074.24

Thank you,
    Sa Wu.

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 (4,891)