fluttercommunity / community

Flutter Community - A central place for community made Flutter content.
1.56k stars 121 forks source link

Stepper widget with many forms (TextFormFields, DropdownButtonFormFields) #97

Open akote opened 2 years ago

akote commented 2 years ago

Discussion: [Stepper widget with many forms (TextFormFields, DropdownButtonFormFields)]

This issue has been made to discuss [topic name and explanation].

Probleme to modify values (automatically)filled-in forms

I am getting in trouble with Stepper() widget containing multiple forms: Textfields and DropdownButtonFormFields. The 1st time I launch the app, I have to enter the values in all form elements (textformfields and dropdownbuttonformfields). At the end the values of all forms are collected and stored in a sqfLite database. The other time I launch the app, the data are read from the database and displayed in one block of infos (Card() widget). A clic on that Card() opens again the Stepper() with all the form elements pre-filled with the data from the Card(). Problem is: I can not modify any value in any TextFormField(): clear(), delete or add something. In that process I do not get any particular message about anything.

Does someone have any idea about this (issue?) thing? Thank you for your help. A.KOTE