forked from filipg/gonito
7 lines
261 B
Plaintext
7 lines
261 B
Plaintext
var input = document.querySelector('input[data-role=tagsinput]'),
|
|
tagify = new Tagify( input, {
|
|
whitelist: #{tagsAvailableAsJSON},
|
|
autocomplete: true,
|
|
enforeWhitelist: true});
|
|
input.style.display = 'none';
|