I tried implementing search filter for my array of data that's fetched from an API. Now I have the search working fine. But when I do backspace and erase one char in the search string, the result doesn't get filtered. However , when I erase the complete string, the array sets to original array. Any idea on how to fix this ? Thanks to all devs in advance.