tag-it icon indicating copy to clipboard operation
tag-it copied to clipboard

Is it possible to only allow preexisting tags to be selected

Open techsin opened this issue 9 years ago • 5 comments

techsin avatar Oct 23 '15 19:10 techsin

yes, check this: http://stackoverflow.com/a/23623605

martinholsten avatar Oct 24 '15 08:10 martinholsten

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

alanngnet avatar Nov 04 '15 00:11 alanngnet

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 avatar Apr 04 '16 18:04 leandroperini

@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 avatar Nov 11 '16 08:11 maulikvora

@maulikvora Sorry but I have no idea why, maybe it has some JS issue. Sorry about the late answering as well.

leandroperini avatar Apr 17 '17 17:04 leandroperini