Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 Staff mobaky
Power Apps Staff

Re: onvisible clear peninput

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!

Super User
Super User

Re: onvisible clear peninput

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

Helpful resources

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Power Apps Community User Group Member Badge

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


Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,392)