cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
keshamer
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?

2 REPLIES 2
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

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

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 Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

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,918)