1
0
mirror of synced 2025-02-16 20:13:16 +03:00

Merge pull request #1940 from datapad/reset-filtered-dropdown

Fix dropdown items not being reset after filtering and selecting when `closeOnSelect` is `false`
This commit is contained in:
Igor Vaynberg 2013-11-29 22:24:05 -08:00
commit 816a46bf1a

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