Anaïs
 · Full-Stack Developer

Update TextField value

I want to display the value of a Local Component State Variable (called "dateSelected") in a TextField. I have bound its "Initial Value" value to this variable. But the TextField does not update when the component state variable changes. However, it works correctly in a widget of type Text.

Example

In the GIF below, you can see that after selecting the date using the DatePicker, the value of the Text widget is updated, but the value of the TextField widget is not.

Widget properties

TextField

Text

Button Actions:

Before customizing it with code, I would like to know if I am doing it wrong, if it is a bug, or if this is not considered for now.

6
23 replies