How to assign a predefined TextEditingController
or FocusNode
to a TextFormField
using JSON
#305
Labels
TextEditingController
or FocusNode
to a TextFormField
using JSON
#305
Description
Consider a scenario where we are making a
Form
using mirai, and there are severalTextFormField
s. EachTextFormField
needs to be assigned a declared local instance ofTextEditingController
orFocusNode
. The mirai JSON is being fetched from some API end point. I want to know, how do I make sure that the correct instance ofTextEditingController
orFocusNode
is assigned to the respectiveTextFormField
even if the fields are rearranged in the JSON.Requirements
Additional Context
Add any other context or screenshots about the example request go here.
The text was updated successfully, but these errors were encountered: