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

4 selected #335

Closed
mirroras opened this issue Jun 26, 2014 · 3 comments
Closed

4 selected #335

mirroras opened this issue Jun 26, 2014 · 3 comments
Labels

Comments

@mirroras
Copy link

Hi
i have a multiple select form with only 4 options but their text are very long.
Is it possible when i select two options to print 2 selected.
How can i change the default number of selected from 4 items to 2 selected items
untitled
?

@azamat-sharapov
Copy link

Just read the documentation, doh..
On Jun 26, 2014 9:11 PM, "mirroras" notifications@github.com wrote:

Hi
i have a multiple select form with only 4 options but their text are very
long.
Is it possible when i select two options to print 2 selected.
How can i change the default number of selected from 4 items to 2 selected
items
[image: untitled]
https://cloud.githubusercontent.com/assets/1965794/3399402/a9f3860e-fd3b-11e3-8f4c-e012778e813c.png
?


Reply to this email directly or view it on GitHub
#335.

@mirroras
Copy link
Author

yes i am stupid ! i just read it

@nilokadnedzar
Copy link

... I also had problems to find it in the documentation, here is what you ( or people in the future, who look this up ) need:

$( '#foo' ).multiselect({
numberDisplayed: 1
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants