Implemented on_textinput event on web platform