Tagsinput for meteor not working


#1

Hello,

I just tried to install ajduke:bootstrap-tagsinput@=0.5.0 with mrt:bootstrap3-typeahead because the original typeahead didn’t work.
I made a simple test :
<input type="text" id="platforms" data-type="typeahead" class="form-control">

Template.my_page.rendered=function(){
    $('#platforms').tagsinput({
        confirmKeys: [13,44,27],
        typeahead: {
            source: function(query) {
                let shortnames = [];
                let i = 0;
                Platforms.forEach(function(el){
                    shortname[i]=el.shortname;
                    i++;
                });
                return shortnames;
            }
        }
    });
};

The input is still a simple text input where I can write anything I want. It does not go into the typeahead function either.

What did I do wrong ?

rXp