add textinput feature