Search Box : search users inside of your friends

Hi everyone !

The issue is really simple and I’ve become crazy with it ! So you might see something really fast that I am forgetting.

Inside my data type User, I have a field “Friends” which is a list of Users. This is the list of the user’s friends.
==> I want to create a SearchBox that search a name inside the list of his friends.

The problem might be because I don’t know what to search inside a List of Users

I have tried 2 things :
First : find the pseudo inside my list of friends but Bubble asks me something else :
image

Second : find the email but Bubble does not allow me to put “is in”

So I don’t really know what to do …

Thank you very much and have great day ! :slight_smile:

Hi there, @ceabiven… try making the constraint in the first screenshot pseudo is in Current User's friends:each item's pseudo, and see if that does the trick.

Best…
Mike

1 Like

To much awesomeness in here. That’s it ! Thanks Mike !

1 Like