Skip to main content

Tagging

Add and remove items in any order without touching your mouse. Use your left/right arrow keys to move the caret (ibeam) between items. This example is instantiated from a <input type="text"> rendering (as of v0.5.0). element (note that the value is represented as a string).

Html
<input type="text" id="input-tags" value="awesome,neasted,beast" />
Javascript
$("#input-tags").selectize({
delimiter: ",",
persist: false,
create: function (input) {
return {
value: input,
text: input,
};
},
});