web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reusable componant bug
Power Apps
Answered

Reusable componant bug

(2) ShareShare
ReportReport
Posted on by 303

I'm having some real love-hate relationship stuff going on with reusable components.

On one hand, they seem like an amazingly powerful feature.

On the other, I have no ends of trouble when I try to use them in non-trivial usage (aka, multiple instance of the same component in the same screen, using them with variables as inputs, etc).

 

Latest bug (from an app I built for a demo): 

  • Screen.OnVisible sets 3 variable (one for Red, Green and Blue)
  • A component as a ShapeColor input property defined as RGBA(varRed, varGreen, varBlue, 1)
  • When you create a new instance of the componant and set ShapeColor, it works fine
  • When you exit and re-enter the screen (aka, the variables values have change), the color is gone (even if the color registers fine in the formula bar)

msapp available if needed for debugging.

Don't worry so much for my app, I'm just trying to pass on the bug info because I really want this feature to work well (and soon if possible).

 

Categories:
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @FredericForest ,

    Do you mean that if your component works with variable, it works at the beginning, but if the variable changes, it will not work?

    I've made a similar test and met the same problem.

    I've reported this to our product team.

    If there's any replay, I will leave message here.

    Thanks for your feedback!

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have the same problem, whenever working with a variable and a component the visibility does not update.

     

    When I change the variable in the Visible tab, the visibility changes while true. When I update it again it simply does not work.

  • Merlijn Profile Picture
    128 on at

    I got the same error on my apps in edit mode. 

     

    variable bug.gif

  • FredericForest Profile Picture
    303 on at

    @v-yutliu-msft  : great news. I think I speak for most saying we really want this feature to work will since, well debug, it's a real game changer !

    Most of my issues invloved variables changing and not being read properly (or at all) by the component, especially if there were multiple instances of the same component on the page.

    Hope this helps !

  • Verified answer
    Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    Hi @FredericForest @Merlijn @Anonymous ,

    We've rolled out a fix to production for this issue earlier today. Please let us know if the issue is resolved for you as well.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It works for me! Thanks for the fast action!

  • FredericForest Profile Picture
    303 on at

    Very please to report that this works well on my side too !

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard