Add type=text attribute on text input