ngx-search clearing-imp
@ViewChild('matRef') matRef: MatSelect; clear() { this.matRef.options.forEach((data: MatOption) => data.deselect()); }
Source: stackoverflow.com
@ViewChild('matRef') matRef: MatSelect; clear() { this.matRef.options.forEach((data: MatOption) => data.deselect()); }