I am looking for a solution that will collapse all of the mat-expansion-panels dynamically when the input field is emptied.
Here is the TS file I have currently writt