3

The function that cleans the variables

The view where the TextFormField is

If i use the same variable in a Text Widget it works but not on TextFormField.

Gwhyyy
  • 7,554
  • 3
  • 8
  • 35

1 Answers1

1

initialValue as its name indicates is TextFormField's initial text and rebuilding TextFormField with new initialValue doesn't have any effect. you can use controller instead of initialValue: Article

Hooman
  • 753
  • 5
  • 13