Here are two hotfixes for the recent Datatable issue:
1. Persist Search Input Value After Page Refresh
In the /src/core/components/datatable/datatable.ts file, modify the _attachSearchEvent function.
Add the following lines after the searchElement declaration:
const searchElement: HTMLInputElement | null = document.querySelector<HTMLInputElement>(`[data-datatable-search="#${tableId}"]`);
// Get search state
const { search } = this.getState();
// Set search value
searchElement.value = typeof search === "string" ? search : String(search);
const row = this._tbodyElement.insertRow();
const row = this._tableElement.tBodies[0].insertRow();