Jasper
·Hobby Builder

Trigger page rebuild after updating a local component state.

Actions & Logic

Hey Team,

I'm not sure if this is a bug or my lack of understanding but I've been trying to trigger a page rebuild after updating a row from a listview component.

My app has a page that displays two listview components; one for unpaid invoices and the other for paid invoices. I want to mark an invoice as paid and have it disappear from one listview and appear in the other without a redirect or page navigation action back to the current page. I thought setting the update type to "Rebuild Containing Page" in the updated component would make this possible.

My two listview components on init refresh their queries so it should be possible with a simple Page rebuild...

What have you tried so far?

Tried setting "Update Page on Changes" setting to true and false on the page for the component to see if that affected anything.

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