function enter(e) {
				if ($ctrl.keyboardFocusIndex === null) {
					return;
				}
				selectOption($ctrl.filteredOptions[$ctrl.keyboardFocusIndex]);
				e.target.blur();
				readyForKeyInput = true;
			}
// Close out search and select option on enter key press.
Close out search and select option on enter key press.
Close out search and select option on enter key press .
function enter(e) {
				if ($ctrl.keyboardFocusIndex === null) {
					return;
				}
				selectOption($ctrl.filteredOptions[$ctrl.keyboardFocusIndex]);
				e.target.blur();
				readyForKeyInput = true;
			}
function enter ( e ) { if ( $ctrl . keyboardFocusIndex === null ) { return ; } selectOption ( $ctrl . filteredOptions [ $ctrl . keyboardFocusIndex ] ) ; e . target . blur ( ) ; readyForKeyInput = true ; }
Close out search and select option on enter key press.
Close out search and select option on enter key press .