How to try to filter a listview with a simple search field and dropdown in flutterflow?

Troubleshooting

I have a ListView in FlutterFlow.

And I have 2 filter fields to filter my listview.

1 - Texfild (With simplesearch) assigned

1 - DropDawn (With Statuses)

I can only make one or the other filter work.

I can't use both together.

The image below only shows the texfild field filter working.

But now I have no idea how to make my DropDawn work in my listview because I'm already using a Generating Dynamic Filter to search for the customer's name when I type it in texfild. Now I don't know where to put the DropDawn one.

I'm making the connection without an API with Supabase, as I don't want to use the API, just the Flutterflow functions of Supabase Query.

Can anyone help me with how I can do this?

What have you tried so far?

What I've tried so far and it's working is creating my variables:

- listOfCliCheques

and

- searchCliCheques

List type, Supabase Row

And use them in my Action capo in Texfild and I will put the customer's name and also use them in my ListView in Generating Dynamic Children.

Creating a variable with name: gestaocheque

and then in the value assigning the condition: Conditional Value (If/Then/Else).

The images below are working perfectly. But now, how do I make DropDawn work? Since I already had these conditions with texfild?

The two variables I created that have an x ​​drawn in red are the ones that would repeat the same procedure I did in texfilde but it didn't work.

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