auto_select : commit when enter key pressed.