I have a searchbox for geographical places and I put an “X” icon to reset the content on the right of it. I want this “X” to be visible when the searchbox test is not empty but I don’t see a way to do it.
There is only the “searchbox’s value” that is set when we click enter, not when the typed text is changed so it’s not enough.