cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,702)