Showing results for 
Search instead for 
Did you mean: 
Resolver II
Resolver II

Bug: Clear the penInput Control when Screen loads in OnVisible

It's been reported here multiple times but can we please get this fixed.


OnVisible sets a variable to true that is attached the penInput Reset property. This should clear the image from the penInput control when the form becomes, but it does not. Yes there are not so obvious workarounds, but this should work as expected.



Continued Contributor
Continued Contributor

Hi @mike528 ! Could you please show the formula for the onVisible and the Reset Property of Pen Input control?


And what I am understanding is that you want to reset the control every time it is visible, is that correct? You could try Reset(PenInput) on the onVisible property?


Mark this post as a solution, or kudo it if you found it be helpful. You can choose more than multiple answers as solutions, including your own answer. 🙂

In the OnVisible, I have
UpdateContext({locClearImage: true})


then on the penInput, the Reset expression is simply locClearImage


This works well if the code for setting locClearImage to true is in the OnSelect of a button. But does not work when in the OnVisible. Also, Reset(penInput) does not change the outcome ... the previous image is still there.



Continued Contributor
Continued Contributor

After trying my solution, your solution, and other people's solution, I willing to say it must be a bug. I have also tried adding a button with Reset(PenInput) on onSelect Property and then Select(Button) on screen onVisible that hasn't worked either. Maybe you can submit an idea here:


I am sorry you have to go through this!

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,314)