Basic conditional action (value not getting saved)

Database & APIs

For my app, which I am making using FlutterFlow (which I am new to), I am facing a problem. In my sign-up page, I give the user 2 options- Buyer and Seller. And when creating that account, I create a field that Buyer_or_Seller (string) is saved from the choice chips. And on my loading page, I add conditions that if that string is equal to buyer, take that user to the buyer home page, and if not, take that user to the seller home page. But when I am testing the page, whether the user chooses buyer or seller, It always takes the user to the seller home page. Why is that?

What have you tried so far?

I have tried changing it from choice chips to 2 buttons - sign up as buyer and second button being - sign up as seller and manually enter the value buyer and seller and then do the same. I have tried capital not capital. LITERALLY EVERYTHING

Did you check FlutterFlow's Documentation for this topic?
No
3
2 replies