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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

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 (7,923)