Issue with DataTable Filter: Unable to Search Users within AvatarGroups #124
Replies: 1 comment
-
Interesting! Could you please try it with the latest PrimeReact version? If the problem persists, please create a Github issue with a sample stackblitz link for us to replicate? For now, closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered an issue while using the DataTable component in my application. The problem is related to the filter functionality not working as expected when searching for users within AvatarGroups.
I am using the PrimeReact DataTable component to display a list of users, some of whom are listed individually, and others are grouped within AvatarGroups.
When I apply a filter to search for a user by name, the filter only works for the first user in the list/array. It successfully finds users who are listed individually but fails to display users within AvatarGroups unless they are the first element in the array.
I expect the filter to search for users both individually and within AvatarGroups, displaying all matching results.
This is how my code looks like:
DataTable
I know I'm probably overcomplicating the code but I had tried to many diferent ways, and the best I got was what it does now.
Beta Was this translation helpful? Give feedback.
All reactions