Select Selectize option ...
This plugin will allow you to ...
<script src="src/plugin.js"></script>
Some intro...
Something...
$('input').selectize({
plugins: ['delayed_select'],
load: function(query, callback) {
if (query.length < 2) return callback();
// $.ajax(...);
})
});
Something...
$('input').selectize({
plugins: {
'delayed_select': {
selectSingleMatch: false,
filter: function(input, item) {
return input == item.code;
}
}
},
load: function(query, callback) {
if (query.length < 2) return callback();
// $.ajax(...);
})
});
Something about options...
Copyright © 2017 Aram Baghdasaryan
Licensed under the MIT