cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mike528
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.

 

Thanks

3 REPLIES 3
ZabiBabar
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?

 

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. 🙂

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

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

 

I am sorry you have to go through this!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,643)