When i run it without the search prop i get results, but when adding a hint it return empty not matter the string.
I’m also getting this warning but I’m following the documentation described here
`search` param will be deprecated in the next major release. If you want to search channel members by displayName, Please use `searchMembers()` instead.
@Referi Regarding your issue, we recommend checking this document: Search Members - Amity Docs for more information on searching for channel members in the Amity SDK.
Hi,
I tested with version 6.18.0 and it is searching just the channel-moderators, I tested with admin and it returned the user but is not returning any other member. When changing the role of the members to channel-moderator and trying again it worked.
Hello, could you kindly provide clarification on what you mean by “it returned the user but is not returning any other member” - which user does it returned?
Hello @Referi, our search feature only supports displaying results based on display name or user ID, not the user’s role. Therefore, if you search for ‘admin’ and the result returns a user with the display name or user ID ‘admin’, this is the expected behavior.