cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sim2KUK
Frequent Visitor

Component RESET when used from a Libary

I am having a hard time getting 'Reset' to work with components stored in the library which seems to act differently when used from within the app.

 

If you know how to get the 'Reset' of a component to work on a component that has been pulled from a library, please let me know.
 
This is using components stored in component libraries, not created and stored inside an app.
3 REPLIES 3
v-jefferni
Community Support
Community Support

Hi @Sim2KUK ,

 

Could you please share more details about your scenario? What kind of component are you referring to? Could you provide some screenshots to explain further?

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi @v-jefferni 

 

Please read this article to understand what I'm referring to ..

 

OnReset property of components. With OnReset, you can specify behavior formulas that run when an event resets a component. You can use OnReset to perform initialization, clear input, and reset values when the Reset function is run on the component instances.

 

Introducing OnReset property of component | Microsoft Power Apps

 

Now when I try and implement this on a component pulled from a Library, it does not seem to work. I create some option in the OnRest of the component, and it does not run when the component is reset.

JohnCard
Microsoft
Microsoft

I'm also facing the same issue, it seems that components imported from a component library are not affected by the Reset() function.

 

Did you find a solution for this? Is this actually something expected?

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.

Power Apps Ideas

Check out the New Ideas Site

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

Top Solution Authors
Top Kudoed Authors
Users online (3,580)