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.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ’‘ Feature Request

Tags

UI Kits

Subscribe to post

Get notified by email when there are changes.