Filter the users if the string typed in the search input is included in the username or UID.
In the CometChatUsers component, when a user types a string into the search input, it matches the characters one by one with the username or UID. If any character typed does not matches with the uid/username, it does not populate the list.
For example, if there are two users named "user2" and "2user," typing "2" will only display "2user" in the list, not "user2."
What is needed -
If the searched string is included in any of the username or uid the list should get populated.
Log in to comment and vote
Comments2
🎉 Good news!
This feature is now available!
If you’d like to get it enabled for your account, just raise a quick query here 👉 https://help.cometchat.com/hc/en-us
Our team will help you get started. 🙌
Violet Lizard
+1 We need API support for
%LIKE%not justLIKE%