Perspective relative references to parent component properties

Spaces and dashes are invalid in component keys and names. Get rid of these in your component names.
Not sure why these are allowed tbh. They will work, but you can't reference them anywhere or use them in script. I think they need to be valid Java variable names

4 Likes

As @nminchin said, the reference parsing falls apart when it hits a - or space. Replace them instead with underscores if you feel you need the separation.

Basically if you wouldn’t use it as a variable name in script, don’t use it as a component or property name.

2 Likes

Thanks guys.. oh dear.. I think a co-worker mentioned this a while back but it must have slipped my mind. Harsh lesson to learn if I need to change a whole lot of stuff now.