2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-09 23:01:00 +00:00

Fire change event on select

This commit is contained in:
disfated 2015-04-06 12:10:25 +05:00
parent 08c284c00d
commit 02bf3ecced

View File

@ -917,7 +917,7 @@
that.currentValue = that.getValue(suggestion.value);
if (that.currentValue !== that.el.val() && !that.options.preserveInput) {
that.el.val(that.currentValue);
that.el.val(that.currentValue).trigger('change');
}
that.signalHint(null);