Skip key event when input purpose is password