Filter Lists with DropDown

Actions & Logic

I am using a database query to generate a ListView.

Now, I have multiple DropDowns, which can be used to filter things. There are two issues I am facing:

  1. I have a list of cities in the objects of the database, also, there is a list of cities in the multiselect DropDown. I only want to display objects, which have a selected city.

  2. If I set up everything as I would think to be correct, I get an error: "you can use at most one in, not-in, or array-contains-any clause per query. you can't combine these operators in the same query."

So, if I cannot combine these filters, how can I achieve my goal?

What have you tried so far?
  • Tried to implement it via query filters

  • Tried to implement it via conditional visibility

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