lwc-utils
lwc-utils copied to clipboard
Datatable - Rows get unselected if you filter by another search term
In the two datatable components if you select two rows, then filter by an unrelated search term, those two rows will get automatically de-selected. Currently using the latest version of the base components.
underikar handled it this way in his component: https://github.com/shliachtx/lwc-listview/blob/40349b49af415633df91981eb88909c54d1e1624/force-app/main/default/lwc/datatable/datatable.js#L444
Low priority enhancement, no ETA (wouldn't hold your breath for next 2-6 months).