If you inherit a global text from a main component with a function and you link a text global in a subcomponent (same and different name) to the main component, the formula is inserted as text instead of it being calculated
main component
- global text <name> = $df(YYYY)$
subcomponent
- global text <name1> = (inherit <name> from parent) => shows as $df(YYYY)$
- global text <name2> = $gv(name1)$ => shows as $df(YYYY)$
Even after save, close and reopen
Expected behavior: get the value of <name> in <name1> and <name2>
It doesn't actually execute the code. If I were to call the variable in a text element with $gv(wicon, null, 0)$ I'd expect to get something like SUNNY, PCLOUDY, etc. Instead I literally get $wf(icon, 0)$
I see there is a change in the new version (3.26).
I don't see the text anymore when linking with global text var.
When I use gv(...) in text object I can see the formula instead of the result.
By the way, I like the option to use scripting in color global vars. Tnx
It is a known bug. It's acknowledged. I was just curious if there was any progress in fixing it. I get some regular updates since I joined the beta program in the store.