updateTextInputIcon function

Change the value of a text input icon on the client