Error: style: null found, style-formatted object expected

I’m getting a sporadic error on a Coordinate Container where it will randomly show up and not show up with the following error:


If I hover the little “i”, it says “style: null found, style-formatted object expected.” I have a few text fields with bindings on the style to outline it in red if the props.text is blank, but I’m not sure if that is what is causing this. Not seeing any other clues on this one.

Any ideas?


Sounds like you have a binding on the and it is returning null.

Instead of binding directly on the configure the style property that you are wanting effect and add the binding to that specific selector. This way the style property maintains it’s format.

1 Like

Ahh good idea! I just switched those over, so hopefully I don’t see the error anymore.