Simple search and Page states (update page state from API call)

Troubleshooting

Hi,

I've added a simple search to my app using this guide https://www.youtube.com/watch?v=de93ifKwMrA

However, my list view is based on an API call, not 'documents' and I'm having trouble linking my page state variable to the api response. I'm suspecting I need to select 'JSON' (or maybe 'Data type') as 'type' for my local page state variable (instead of 'String' as the guide indicates) and then somehow update the page state variable based on my api response, using 'Actions' but I can't find such an option when I go to add my action.


Am I on the right track here or should I try a completely different approach?


Thanks,

Madeleine


What have you tried so far?

I've checked numerous tutorials, articles and even tried custom functions with the help of chatgpt but no luck.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
1 reply