Access and Set Widget Values
This guide addresses how to access and set widget values.
In addition to other parameters that govern widget behavior and appearance, Widget objects have a value
parameter that can be used to access the current value state.
Let's first create a TextInput
widget:
Now we can programmatically access its value:
We can also use this value parameter to set the widget value:
Related Resources
Learn more about Panes in Explanation > Components.