Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit c68c2c8

Browse files
committed
Fix #97
1 parent a2cacfd commit c68c2c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

angucomplete-alt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ angular.module('angucomplete-alt', [] )
550550
}
551551

552552
if (scope.overrideSuggestions) {
553-
if (scope.searchStr && scope.searchStr.length > 0) {
553+
if (scope.searchStr && scope.searchStr.length > 0 && scope.currentIndex === -1) {
554554
handleOverrideSuggestions();
555555
}
556556
}

0 commit comments

Comments
 (0)