Confirm Delete
Using the Confirm Delete dialog
Html
<div class="control-group">
<label for="input-tags">Tags:</label>
<input type="text" id="input-tags" class="demo-default" value="awesome,neat,yeah">
</div>
Javascript
$('#input-tags').selectize({
delimiter: ',',
persist: false,
onDelete: function(values) {
return confirm(values.length > 1 ? 'Are you sure you want to remove these ' + values.length + ' items?' : 'Are you sure you want to remove "' + values[0] + '"?');
}
});