We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c709ba + 4e8da11 commit 231cce0Copy full SHA for 231cce0
1 file changed
select2.js
@@ -2644,7 +2644,7 @@ the specific language governing permissions and limitations under the Apache Lic
2644
},
2645
2646
// multi
2647
- postprocessResults: function () {
+ postprocessResults: function (dummy1, dummy2, noHighlightUpdate) {
2648
var val = this.getVal(),
2649
choices = this.results.find(".select2-result"),
2650
compound = this.results.find(".select2-result-with-children"),
@@ -2667,7 +2667,7 @@ the specific language governing permissions and limitations under the Apache Lic
2667
}
2668
});
2669
2670
- if (this.highlight() == -1){
+ if (this.highlight() == -1 && noHighlightUpdate !== false){
2671
self.highlight(0);
2672
2673
0 commit comments