Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate setting and event not working #59

Closed
smitdesai16 opened this issue Apr 11, 2018 · 0 comments
Closed

duplicate setting and event not working #59

smitdesai16 opened this issue Apr 11, 2018 · 0 comments

Comments

@smitdesai16
Copy link

smitdesai16 commented Apr 11, 2018

I am using following code to prevent from getting duplicate values but neither console log is working nor duplicate true setting.

jQuery(document).ready(function($) {
		$("#tags").tagify({
			delimiters: ",",
			enforeWhitelist: true,
			autocomplete: true,
			whitelist: ["foo", "bar", "foo bar"],
			suggestionsMinChars: 1,
			duplicates: true,
		}).on("duplicate", function(e, tagName) {
			console.log("duplicate" + e + " " + tagName);
		});
});
@yairEO yairEO closed this as completed in 0a138fb Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant