You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The onValueChange doesnt get called when we are filtering data using the global search box.
The same works fine if we filter individual columns.
Ideally, onValueChange should be called on all instances where filtering is happening because then we are not able to implement a few functionalities which rely on filtered data.
Reproducer
No response
PrimeReact version
8.5.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Add the below property to your component.
onValueChange={filteredData => {console.log('filter changed', filteredData)}}
try filtering the data from the individual filter. It properly logs the filtered data.
Try filtering via global search box. It doesn't log the filtered data properly.
Expected behavior
No response
The text was updated successfully, but these errors were encountered:
melloware
added
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Sep 15, 2022
Describe the bug
The onValueChange doesnt get called when we are filtering data using the global search box.
The same works fine if we filter individual columns.
Ideally, onValueChange should be called on all instances where filtering is happening because then we are not able to implement a few functionalities which rely on filtered data.
Reproducer
No response
PrimeReact version
8.5.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Add the below property to your component.
onValueChange={filteredData => {console.log('filter changed', filteredData)}}
try filtering the data from the individual filter. It properly logs the filtered data.
Try filtering via global search box. It doesn't log the filtered data properly.
Expected behavior
No response
The text was updated successfully, but these errors were encountered: