You can empty the contents of the search bar with the clear method.
clear
Calling clear() has the same effect as calling setValue([]).
clear()
setValue([])