Home > Mobile >  To implement the dynamic binding of TextField Flutter?
To implement the dynamic binding of TextField Flutter?

Time:11-21

TextField component binding value leads to the cursor position is not the last one how to solve, also not forced to stop in the last, I want to insert the way to modify will always jump to the last one to go, how to solve?



As long as I input will jump to the last, I want it to stop in the right place, but not fixed a cursor in the last one, I am forced to write the text value of the TextField will be parked the cursor in the first,
I just imagine web side, monitor and modify the value of the input value in oChange,

CodePudding user response:

https://blog.csdn.net/fwq_17802927858/article/details/102677019? has been solved, reference Utm_medium=distribute. Pc_aggpage_search_result. None - task - blog - 2 ~ all ~ first_rank_v2 ~ rank_v25-8-102677019. Nonecase& Utm_term B7=8 e E8 flutter % 20% % % % E5 E5 8 f % 96% % 85% % 87% % 89% % E6 A0 BD E7 8 d BD E4 % % % % % AE
  • Related