scania-digital-design-system/sdds

DataTable Filtering

Closed this issue · 0 comments

Requirements before reporting

  • No duplicated issue reported.
  • I have read the contribution guidelines.
  • I have checked the lastest version if the bug exist there. See all avaliable packages at npmJS.com
  • I have made sure that the issue comes from SDDS packages by removing SDDS from my project as a test.
  • I have followed the installation guide.

Package

@scania/components

Package versions

4.5.0

Browser

Chrome

Framework

Angular

Version

Angular 13

Reproduction steps

When using the data-table from SDDS and when filtering option is applied the original resultset is not restored properly when the filter criteria is removed. This is re-produceable on the demo page as well: https://digitaldesign.scania.com/components/data-tables/code

Code example

....

Screenshots

Add/Copy screenshot here

Expected behaviour

original result is shown in datatable after filtercriteria is removed

Console errors

Add warning/error message

Contact information

No response