input event works even with auto-completion