Calling select2('open') on multiple select shows 'No Matches Found'.
This commit is contained in:
parent
911a0bb082
commit
b973b56cce
@ -2260,10 +2260,11 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
|
||||
// multi
|
||||
opening: function () {
|
||||
this.clearPlaceholder(); // should be done before super so placeholder is not used to search
|
||||
this.resizeSearch();
|
||||
|
||||
this.parent.opening.apply(this, arguments);
|
||||
|
||||
this.clearPlaceholder();
|
||||
this.resizeSearch();
|
||||
this.focusSearch();
|
||||
|
||||
this.opts.element.trigger($.Event("open"));
|
||||
|
Loading…
Reference in New Issue
Block a user