Set input button to have ‘X’ to clear.
Set input button to have ‘X’ to clear.
classic12
Posts: 228Questions: 60Answers: 4
I’m sure I’ve asked before but can’t find it.
Is there a way to make this wizardry
This discussion has been closed.
Replies
Do you mean the DataTables default global search input? It is
<input type="search">
so if your browser / OS default is to show a clear icon, it will be shown.Allan
This iOS and not showing.
Is there a way to force it on desktop ?
This is the top hit I found on a google search for "ios input clear icon".
It looks like iOS doesn't have that in its controls by default. You need to use some Javascript to add it.
The clear icon is a little frustrating since some browsers and OSs use it, while others don't. And it can chance between versions - IE on Win8 put it everywhere as I remember.
Allan