Using the jQuery UI plugin Tag-it, it is possible to enter tags with 100s of characters such as:
"loremipsumdolorsitametconsecteturadipisicingelitseddoeiusmodtemporincididuntutlaboreetdoloremagnaaliquautenimadminimveniamquisnostrudexercitationullamco"
I'm trying to set a maximum number of characters allowed per tag. So far I have tried tagLimit
but this limits the total number of tags allowed but not the character limit for each tag.
Does anyone know how I could set a limit to the number of characters allowed per tag?
$(document).ready(function() {
$("#tags").tagit({
tagLimit: 5,
allowSpaces: true,
placeholderText: 'Tags'
});
});