Hello,
I have an issue with my rangedate filter in Next.js-TypeScript. I am using PrimeReact library. The filter has not been successful in filtering my datatable. When I click the filter button there is an error : TypeError: value.toDateString is not a function. And there are only 20 data in the table, so it seems that no changes are needed on the backend, but I still haven't found a solution for this yet. I hope someone can help me. Thanks in advance. prepaidgiftbalance
Issue with rangedate filter in PrimeReact datatable
-
- Posts: 2
- Joined: 14 Jun 2023, 08:50
Last edited by Williamsilk on 15 Jun 2023, 06:06, edited 1 time in total.
Its because you are using a JavaScript `String` instead of a `Date`. The Calendar requires a `Date` field.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests