Disable typing on selectize
<p>As the title, on selectize, how can I disabled typing except Backspace key.</p>

<p>It will be allowed to:</p>

<ul>
<li>Select item on dropdown.</li>
<li>Delete selected items.</li>
</ul>

<p>It will NOT be allowed to:</p>

<ul>
<li>Type or add any new items.</li>
</ul>

<p>I have read the API document but I can't found the solution. Any suggestions.</p>

<p>Here mine:</p>

<pre><code>var $select = $('#tags').selectize({
        maxItems: 5,
        persist: false,
        createOnBlur: true,
        create: true,
    });
</code></pre>

<p><strong>UPDATE:</strong></p>

<p>I found the solution by my own</p>

<pre><code>$select[0].selectize.$control_input.on('keydown', function(e) {
        var key = e.charCode || e.keyCode;
        if(key == 8 )
            return true;
        else
            e.preventDefault();
    });
</code></pre>