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 onFilter callback of the TreeTable has wrong type definitions.
Current type definitions is: onFilter?(filters: TreeTableFilterMeta[]): void; but the onFilter callback is not called with an object of type TreeTableFilterMeta[].
melloware
added
Typescript
Issue or pull request is *only* related to TypeScript definition
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jul 4, 2024
melloware
added a commit
to melloware/primereact
that referenced
this issue
Jul 4, 2024
Describe the bug
the
onFilter
callback of the TreeTable has wrong type definitions.Current type definitions is:
onFilter?(filters: TreeTableFilterMeta[]): void;
but the onFilter callback is not called with an object of typeTreeTableFilterMeta[]
.Reproducer
https://stackblitz.com/edit/qs2rlx?file=src%2FApp.tsx
PrimeReact version
10.3.1
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: