Allow immediate typing when tabbing to multiple select.
This commit is contained in:
parent
19c87d3bae
commit
02cca7baa7
4
src/js/select2/selection/search.js
vendored
4
src/js/select2/selection/search.js
vendored
@ -54,6 +54,10 @@ define([
|
|||||||
self.trigger('focus', evt);
|
self.trigger('focus', evt);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.$selection.on('focus', function (evt) {
|
||||||
|
self.$search.trigger('focus');
|
||||||
|
});
|
||||||
|
|
||||||
this.$selection.on('focusout', '.select2-search--inline', function (evt) {
|
this.$selection.on('focusout', '.select2-search--inline', function (evt) {
|
||||||
self.trigger('blur', evt);
|
self.trigger('blur', evt);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user