|
@@ -2786,6 +2786,9 @@ the specific language governing permissions and limitations under the Apache Lic
|
|
|
|
|
|
this.opts.element.trigger({ type: "selected", val: this.id(data), choice: data });
|
|
|
|
|
|
+ this.clearSearch();
|
|
|
+ this.updateResults();
|
|
|
+
|
|
|
if (this.select || !this.opts.closeOnSelect) this.postprocessResults(data, false, this.opts.closeOnSelect===true);
|
|
|
|
|
|
if (this.opts.closeOnSelect) {
|