modifies TextInput to listen to more UI events (onkeyup, oninput, onchange)