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

Items default to "selected" #142

Open
weevis opened this issue Jan 18, 2013 · 2 comments
Open

Items default to "selected" #142

weevis opened this issue Jan 18, 2013 · 2 comments

Comments

@weevis
Copy link

weevis commented Jan 18, 2013

None of my "option" have the selected attribute, but when I .multiselect() all options go into the "selected" side by default

Is there a way to prevent this?

@yanickrochon
Copy link
Collaborator

It is hard to determine what is going here since you provide no use case to reproduce the problem. This widget has been around for over 4 years now and if it was a common issue, it would have been reported by now.

However, may I suggest you turn over to the version 2.0 of this widget, which is supported at the moment.

@weevis
Copy link
Author

weevis commented Jan 18, 2013

no use case? I have a select of options with nothing selected, and i use the multiselect on it and it makes them selected

as such:
12
$('.multiselect').multiselect();

I have gotten around this by forcing a click on the remove all element $('.remove-all').click();

Also, I didn't find version 2.0 via how I found this one on google, that's why I am not using it - otherwise works good.

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