Also check if search input should be focussed for multiselects
This commit is contained in:
parent
ed0bae39c9
commit
2d6b74c2ac
@ -2827,7 +2827,9 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.updateResults(true);
|
this.updateResults(true);
|
||||||
this.search.focus();
|
if (this.opts.shouldFocusInput(this)) {
|
||||||
|
this.search.focus();
|
||||||
|
}
|
||||||
this.opts.element.trigger($.Event("select2-open"));
|
this.opts.element.trigger($.Event("select2-open"));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user