We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f09c7a commit 24716bcCopy full SHA for 24716bc
1 file changed
select2.js
@@ -2690,7 +2690,7 @@ the specific language governing permissions and limitations under the Apache Lic
2690
2691
this.opts.element.trigger({ type: "selected", val: this.id(data), choice: data });
2692
2693
- if (this.select || !this.opts.closeOnSelect) this.postprocessResults();
+ if (this.select || !this.opts.closeOnSelect) this.postprocessResults(data, false, this.opts.closeOnSelect===true);
2694
2695
if (this.opts.closeOnSelect) {
2696
this.close();
0 commit comments