cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
FPI-Marc
Level: Powered On

Custom component Visible property not working anymore when binded to a var

Hey everyone,

 

Since yesterday, the Visible property of my custom components doesn't seem to react to the backing variable changes.

 

In many places in my canvas apps I use components to display warning or progress messages while the app is working

 

For example, in the App OnStart event:

Set(IsWorking, true);
// ... long running process ...
Set(IsWorking, false);

then I bind a custom component Visible property to the IsWorking variable and it works fine....well that was until yesterday!

 

I tried to explicitly call Reset(component_name) after changing the var value, same result. I even tried triggering the variable change on a button click just to isolate the problem...again same result.

 

Strangely, if I change the Visible property directly in the "formula bar" by typing the variable name, it works.

 

I've found a workaround using containers instead of components, even tough I don't like using experimental features...but at least it works!

 

Anyone had the same problem?

 

 

 

1 REPLY 1
Mizz
Level: Powered On

Re: Custom component Visible property not working anymore when binded to a var

Hello,

 

I've had some unexplainable behaviour in created components aswell. You may want to check whether the name of the variable is set both in the app as well as in the component ie. are you also using IsWorking within the component?

 

Not sure whether this solves it, but I remember having an issue with this at some point in time.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,399)