RSVP button but increment reverts.

Actions & Logic

Hey all! So I have a feature on my app, where people can just click RSVP and then I want my text widget counter to update. My problem is the number changes from 0-1 and then reverts back to 0.

I have setup the rsvp_count as a number in under events in firebase and integer on flutterflow events collections.

on create_event page, I have setup the create documents fields correctly and also linked it to the text widget on the actual page.

here's an image on my actions

Hopefully someone can help.

What have you tried so far?

Ive tried deleting the button and starting the action again and deleted the collections and created to make sure they match, tried app state but it kept updating all the other event counters.

Did you check FlutterFlow's Documentation for this topic?
No
1