nate-strauser / meteor-select2

Select2 bindings to meteor
MIT License
30 stars 24 forks source link

Meteor 1.3 allowClear option not working #32

Open hassan1709 opened 8 years ago

hassan1709 commented 8 years ago

Hi, "allowClear" option is not working in my underconstruction new meteor 1.3 app. The rest of options I am using such as "multiple" works as expected. Also the "search" box works in others selects I have in my form.

Here is my code:

Template.startJob.onRendered(function(){
    $(document).ready(function() {
        $(".select2").select2({
            allowClear: true
        });
    });
});

Thanks!!