1
0
mirror of synced 2024-11-26 23:06:02 +03:00

Trigger the select event in the tokenizer

This closes https://github.com/select2/select2/issues/3325.
This closes https://github.com/select2/select2/pull/3453.
This commit is contained in:
Stretch 2015-08-21 18:30:35 -04:00 committed by Kevin Brown
parent 7166935958
commit d08cb874f9

View File

@ -22,7 +22,9 @@ define([
var self = this; var self = this;
function select (data) { function select (data) {
self.select(data); self.trigger('select', {
data: data
});
} }
params.term = params.term || ''; params.term = params.term || '';