Selectize.js: Autoclose dropdown after add new item

Created on 25 Mar 2014  路  8Comments  路  Source: selectize/selectize.js

Hello, I would like to know how to do that when you add a new item, I would close the dropdown

create: function(input) {
autoclose???
}

thanks

Most helpful comment

This is now a part of 0.12.0 (just released). Just set closeAfterSelect: true.

All 8 comments

onItemAdd: function() {
this.blur();
},

@gwacker Great! But does not work when create: true

This worked well:

onItemAdd: function() {
this.close();
},

Hello,

i have the same Problem and your answeres will not work :(
My