Add support for repeated events to text inputs