Datatable Globalfilter - Unable to Clear global filter in showcase

UI Components for React
Post Reply
sanfordandrew
Posts: 3
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: 3487
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 12.0.0 / PF Extensions 12.0.3
PrimeReact 8.7.3

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest