Changing a label caption using JS script

I cannot change a label caption from an input controller. Any ideas on how to that using JS?

Hello, welcome!

Most of components' properties can't be changed directly. However, those that you can change via Inspect side window can be injected via {{ }} and temporary state (or any other values).

Text input controller
image

image

Temporary state

Now, whenever you change the Temporary state's value the caption will change. Here is a button that change the temporary state

The result
caption

Hope that helps

Thank you so much! This is great!