input emits 'enter' event