Add a back button on input box

How to add this back button ,like here—

with a X sign on the input box…


Thanks in advance…