valadoc-org
valadoc-org copied to clipboard
Don't show the clear search icon when the entry is empty
When there is no text, it's a button that does nothing. We should get rid of it when the entry is empty
I think you can do this in CSS with <input pattern=".+" />
and input:valid { ... }
We should use the pattern to handle non-ID-characters instead.
Note that pattern isn't working on old browsers