We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e47d159 + ab15701 commit 52ad3d9Copy full SHA for 52ad3d9
1 file changed
src/jquery.autocomplete.js
@@ -760,7 +760,11 @@
760
suggestion = that.suggestions[index];
761
762
that.currentValue = that.getValue(suggestion.value);
763
- that.el.val(that.currentValue);
+
764
+ if (that.currentValue !== that.el.val()) {
765
+ that.el.val(that.currentValue);
766
+ }
767
768
that.signalHint(null);
769
that.suggestions = [];
770
that.selection = suggestion;
0 commit comments