Skip to content

Commit 24716bc

Browse files
committed
fixes select2#1513
1 parent 1f09c7a commit 24716bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2690,7 +2690,7 @@ the specific language governing permissions and limitations under the Apache Lic
26902690

26912691
this.opts.element.trigger({ type: "selected", val: this.id(data), choice: data });
26922692

2693-
if (this.select || !this.opts.closeOnSelect) this.postprocessResults();
2693+
if (this.select || !this.opts.closeOnSelect) this.postprocessResults(data, false, this.opts.closeOnSelect===true);
26942694

26952695
if (this.opts.closeOnSelect) {
26962696
this.close();

0 commit comments

Comments
 (0)