Is there way to filter one drop down, using document reference as condition?

Resolved

So i have a couple deop downs where user can choose values. All drop downs have query collection to firebase database.
The issue is that in one collection document has just string field, while the other has string field and a reference to the first collection. I want to filter the result of the query collection in second drop down that checks that document reference is equal to the doccument in first collection.

1
3 replies