Only show clear button when there is text in the input.