backgroundColor prop not updating screen properly

Has anyone had any experience with an object's properties not displaying correct? I have a page of objects, each with a disable/enable button. The text and color of the button is indicated by a parents meta properties defined by an UDT. The props update accordingly, but the button's background color gets stuck

It may simplify things first off if you create a component for the row with parameters and utilize a flex repeater. It will be significantly more supportable.

For the binding, you are missing the # in front of your color.

3 Likes

Thank you I didn't notice that. I have tried using a flex container with parameters to find my tags, but it did not seem to update the other instances. I've just been using classes to make adjustments and utilize Perspective naturally incrementing sequential objects.

seems like there may have been some issues with how you were doing bindings, unless all the tags are setup vastly different. I just know I wouldn't want to walk into a plant and have to look through 20 or more flex containers for a binding problem.

Just giving out potential design improvements. Always remember, you may not always be the person supporting this if it is for a customer, so it needs to be readable and easy to support. Not only for those using it potentially after you, but also future you that forgets about all the individual bindings that were made.

1 Like

Or, design it as if the next guy is a serial killer who knows where you live. :wink:

3 Likes

Yeah something like this really needs a flex repeater.

Please edit this to be a flex repeater, it is going to save you so much time if you learn how to do this, not just for this, but all the next times you need to copy something. If you have learned how to do it, you will maybe think about using this faster! Do it! Its your first time posting here so you are new, still learning, so learn how to do this!!

2 Likes