How to populate a TextField with an App State (or Action Output)

Troubleshooting

I am failing to load an App State variable into a TextField. (For context, this is extracted text from a Pdf. The text should load into a chat TextField so it can be submitted within a prompt to OpenAI).

So frustrating as the difficult part is complete. But I can't get the extracted text to load into the TextField widget. The information is there, it just needs to go into the box!

Anyone with any bright ideas please?

What have you tried so far?

Attempted:

  • custom action

  • textfield properties bound to App State

  • textfield properties bound to Action Output

  • set form field to App State

  • set form field to Action Output

  • update page state (variable bound to App State)

Did you check FlutterFlow's Documentation for this topic?
Yes
4
5 replies