cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

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
Highlighted
Power Apps
Power Apps

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!

Highlighted
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,628)