Open lailaabb opened 2 years ago
Hi, I have no idea just now, you can try to do something with this snippet
$('.tokenize-callable-demo1').tokenize2({
dataSource: function(search, object){
$.ajax('remote.php', {
data: { search: search, start: 1 },
dataType: 'json',
success: function(data){
var $items = [];
$.each(data.data, function(k, v){
$items.push(v);
});
object.trigger('tokenize:dropdown:fill', [$items]);
}
});
}
});
Hello, is it possible to change the tokenize dataSource url on a trigger?