state object with Textinput

…