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

Adds option to limit the selection, and 2 related callback functions #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Frique
Copy link
Contributor

@Frique Frique commented Aug 19, 2013

Option "selectionLimit" with 0 for unlimited or (int) for a limit.
options.limitReached() is called when reaching the limit,
options.limitBlocked() is called when trying to add more than the
limit. Also works for adding entire group and select_all, but
select_all has a new param to respect or ignore the limit.

Option "selectionLimit" with 0 for unlimited or (int) for a limit.
options.limitReached() is called when reaching the limit,
options.limitBlocked() is called when trying to add more than the
limit. Also works for adding entire group and select_all, but
select_all has a new param to respect or ignore the limit.
@refringe
Copy link

refringe commented Feb 8, 2014

Been using this for a while now. Works great!

@petanne
Copy link

petanne commented Oct 31, 2017

Perfect!
Thanks a lot.

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

Successfully merging this pull request may close these issues.

3 participants