get text input into the UI via TextInputEvent