I have a working search input bar and it filters correctly based on value.
My problem is when i go to other page and come back to the page where
the search input bar is there, the last (history) search value is still there.
Example: I search word "Work", then it search. When i leave the page and comeback the word "Work" is still there. It should be blank again.
How to clear it once i leave the page automatically? Thank you