This is interesting.
This works to set the value of a component.
var comp = txtProdDesc comp.setValue("Hello2")
Using a temp var does not:
txtProdDesc.setValue("Hello") currentPopoutField.setValue(txtProdDesc) console.log(currentPopoutField.value.value) // Hello currentPopoutField.value.setValue("Hello3") // setValue is not a function error
I can read properties but not execute methods
I have a use case where it would be very handy to remember a component in the temp var and then use it directly later on.
Similar to this post: How to get Component's value by component name/id? - #3 by _andrey