i want to create an app in which there is a text input field and whenever the user presses a keyboard key, i want to delete what user wrote in the input field and replace it