tag-it
tag-it copied to clipboard
Is it possible to only allow preexisting tags to be selected
yes, check this: http://stackoverflow.com/a/23623605
See also http://stackoverflow.com/questions/7500187/how-to-modify-jquery-tag-it-plugin-limit-number-of-tags-and-only-allow-availabl especially this very concise answer that requires no customization of the tag-it plugin: http://stackoverflow.com/a/15072487/971927
I've made a quick and simple adjust to accept this feature without needing any additional code, also I sent a pull request, don't know if I made the right way, sorry if it's not the case.
@leandroperini your solution doesn't allow adding tag when it is selected from the list with 'key down' and then clicking 'enter', any suggestion?
@maulikvora Sorry but I have no idea why, maybe it has some JS issue. Sorry about the late answering as well.