primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.78k stars 1.03k forks source link

[BUG] - Datatable component - filter textbox does not retain filter value during session, but filter remains in effect #2246

Closed njsdev closed 2 years ago

njsdev commented 3 years ago

I'm submitting a ... (check one with "x")

[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports) https://codesandbox.io/s/0y70x

Current behavior Looking at the above code sandbox at the session storage table, enter a letter into the filter field for one of the columns, refresh the page, the filter remains in effect because of session storage. However, the letter that you entered into the filter textbox has disappeared.

Expected behavior When the page is refreshed and the filter still in effect, the entered letter should still be visible in the filter textbox.

Minimal reproduction of the problem with instructions image image

  1. Enter letter into filter textbox
  2. Refresh the page
  3. Filter is still in effect, however filter textbox is empty. See images above

Please tell us about your environment: Windows 10, vscode, npm, CreateReactApp

mertsincan commented 2 years ago

Hi,

I think this issue has already been fixed with the latest version.

For now, closed. If the problem persists, please reopen this ticket. Best Regards,