Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

onvisible clear peninput

Hi, I try to reset a peninput controller when the screen is loaded.


I tried to ways:

screen.onvisible = reset(peninput)

doesn't works !! But if I do a button with that onselect it works ... Don't understand


The other way tried is:

screen.visible = updatecontext ({rstpeninput:true});updatecontext ({rstpeninput:false})

peninput.reset = rstpeninput

Doesn't either works!!! But if I do it on a onselect button... It works too.


All I want is a clear signature when I open the screen.

Can someone help me?

Power Apps
Power Apps

Hello @keshamer,

I believe this is a bug, I will investigate it further and post an update here.

As a temporary solution you can maybe try setting the Reset property for the peninput to true and the OnHidden screen property to reset(peninput).


I hope this helps!

Memorable Member
Memorable Member

Same problem,  but yur solution to do on the exit of screen works just fine

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (37,658)