Friday, 4 January 2019

Allow tags in Select2 elements

I have tried to enabled tags on select2 elements when they have a specific class

$(".select2Tags").each(function(index, element) {
    $(this).select2({
        tags: true
    });
});

But allowing new tags is not working. How can I make that work?



from Allow tags in Select2 elements

No comments:

Post a Comment