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

Set tagLimit after init #71

Closed
dynagence opened this issue Mar 24, 2021 · 3 comments
Closed

Set tagLimit after init #71

dynagence opened this issue Mar 24, 2021 · 3 comments

Comments

@dynagence
Copy link

Hello,
Can I set/update the tagLimit setting after the init ?

@dynagence
Copy link
Author

I found, just with :
amsifySuggestags._settings({
tagLimit: 6
})

@amsify42
Copy link
Owner

Hello,
Yes you can update settings even after _init has been called

amsifySuggestags = new AmsifySuggestags($('input[name="country"]'));
amsifySuggestags._init();

amsifySuggestags._settings({
	tagLimit: 6
});

@amsify42
Copy link
Owner

I am closing this issue now. You can reopen it if you think the solution is not found.

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

2 participants