Datatable Globalfilter - Unable to Clear global filter in showcase

UI Components for React
Post Reply
sanfordandrew
Posts: 4
Joined: 15 Jan 2021, 20:03

24 Jan 2023, 22:32

How is a user expected to clear a datatable global filter?

To replicate:

1. Go to the Datatable - Crud example at https://www.primefaces.org/primereact/datatable/crud/
2. Enter a "q" character into the global filter InputText control. Since no data in the table contains a "q" character, the table shows no records, as expected
3. Backspace to delete the "q" in the global filter InputText control. At this time, we would expect the table to show all records, since the filter is cleared. This does not happen. The table continues to show no records.

Thanks,

Andy

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

26 Jan 2023, 00:30

Already reported and fixed in upcoming release: https://github.com/primefaces/primereact/issues/3819
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

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests