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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 371 members 4,799 guests
Recent signins:
Please welcome our newest community members: