I have a textfield list with values - when I change the value of a textfield - and when I try to reduce the keyboard (to finish the modification to move to another field), my modification is not taken into account, it gives back the old value, it is as if it reloaded the list again , what should I do to maintain my change, thank you.
Asked
Active
Viewed 237 times
0
-
2Hello, Able. Please edit your question and add some code of what your doing, specially the TextField and the usage of the controller. – George Mar 17 '19 at 14:56
-
the solution I was proposed on https://gist.github.com/buthmathearo/55d806d89cf09abc2fc75b18c26d6a7f – Able Daniel Ayekpa Mar 17 '19 at 20:51
-
the solution is that i had to use the list in initState, then stop in has, – Able Daniel Ayekpa Mar 17 '19 at 20:53
-
but my big problem in the original code, I have to use a list that comes from another method, so I will not be able to apply the proposed solution., – Able Daniel Ayekpa Mar 17 '19 at 20:55