Hi there,
I am lost and hope someone can help. I do have a component with a list view that shows records from a Firestore collection. The component has a boolean parameter "showArchivedEntries", and the value of this is used in a filter of the list view query. I use the component in two places in my app, with the parameter set to true once and to false once. So I would accept different query results.
But that does not work, the value I pass to the component never gets considered in the filter, instead it always used the default value.
I already tested a few things:
The value of the parameter is set correctly (condition coloring of components works as expected).
The results of the query change if I use the value true or false for the filter rather than a variable.
So the question is: How can I use a component parameter in a Firestore query filter?
Cheers,
Bastian