1
0
mirror of synced 2025-02-09 16:49:24 +03:00

Fix dropdown items not being reset after filtering and selecting when closeOnSelect is false

This commit is contained in:
Alek Storm 2013-11-24 22:26:13 -08:00
parent 0967c67776
commit b5aa4688ea

View File

@ -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) {