cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SaWu
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.

0 REPLIES 0

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,468)