Toggle the clear icon's visibility on every update in SearchBox