I am working on angular material table which should be filtered based on selected items from mat-select
box. It works fine when I have normal select box where user can select only one item.
But the issue is I have it as multi-select box where user can select more than one filters.
Multiselect stores selected items in an array. How can I pass it to table datasource?
applyFilter() {
console.log(this.selection);
this.dataSource.filter = this.selection.trim().toLowerCase()
}
How can I pass array of filter values?