cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FredericForest
Kudo Kingpin
Kudo Kingpin

Reusable componant bug

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).

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

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 Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @FredericForest @Merlijn @WesleyP4P ,

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.

View solution in original post

7 REPLIES 7
v-yutliu-msft
Community Support
Community Support

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 Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WesleyP4P
Advocate I
Advocate I

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.

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

 

variable bug.gif

@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 !

Hi @FredericForest @Merlijn @WesleyP4P ,

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.

It works for me! Thanks for the fast action!

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

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,793)