Selectize.js = how to stop it from auto loading remote data-source of suggestions?

jquery, selectize.js

Solution

To make selectize input load only first time you can make something like this:

$('#select').selectize({
    preload: true, // make selectize load options after initialization
    load: function(query,callback){
        this.settings.load = null; // prevent selectize from loading when typing
        // also instead of this you can 
        // override this.onSearchChange = function noop(){};
        $.ajax({...}).then(function(response){
            callback(response);
        },function(){
            callback();
        }) 
    }
});

Problem

Using selectize.js plugin, https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md it seems to triger the load() function everytime I type into the input field.. I wanted to make it load once only during initialization... been at this for an hour trying to figure it out... i've a feeling it doesn't have such functionality, or am I missing something? Thanks guys...

Original source