cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
timbrid
Frequent Visitor

ResetForm / DelayOutput bug?

I'm experiencing a bug when using ResetForm() on a form with a textbox that has DelayOutput=true (and default value "").

 

If I type in that textbox and immediately click a button with the ResetForm() command, that textbox does not reset, and persistently fails to reset upon further button clicks.

 

If I then type in the textbox again, allow a second or two for the delayed output to process, and then click the button, it does reset.

 

Can anyone else recreate/confirm this behaviour?

 

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

It would seem to me that it is doing exactly what you are telling it to do.  If you hit the reset right after you fill in the text box it delays output on that text box so the reset happens before the textbox output is provided.  If you wait until the delayed output happens then the reset applies to the textbox also because the output has had time to hit the text box. What do you think it should do?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
timbrid
Frequent Visitor

From a user experience point-of-view, I think it should reset that textbox, but I can understand functionally why it doesn't.

 

However, the bug is that, having reset the form before the delayed output, you can then wait and hit the reset button again and it still won't reset that textbox. You can come back five minutes later and it still won't - until you edit the textbox again.

 

 

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,262)