How to show an icon conditionally?

Following this argument, the condition would be, “This icon is visible when the Search Box has typed text,” but it can not be constructed like this.

The “This Search Box” function is only shown if the selected element is the box …

Then it would have to be “This search box has text typed” … and what to do to the icon and how?

Added after seeing this threath How to create a new thing from a search box?

Hm, that screenshot is for another question …