web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Bug: Clear the penInpu...
Power Apps
Unanswered

Bug: Clear the penInput Control when Screen loads in OnVisible

(0) ShareShare
ReportReport
Posted on by 236

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.

 

Thanks

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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?

     

    Best,
    Zabi
    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. 🙂

  • mike528 Profile Picture
    236 on at

    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.

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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: https://powerusers.microsoft.com/t5/Ideas/ct-p/PA_Comm_Ideas.

     

    I am sorry you have to go through this!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard