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

Fixed scoping issue which prevented multiple instances from having similar options #717

Merged
merged 1 commit into from
Feb 17, 2015

Conversation

IanCaunce
Copy link

If there are multiple instances of selectize on a page and each instance shares an option with the same value upon initialization, only the first instance will have their option pre-populated. This fix changes the scope of the optionsMap so that values are not shared between selectize instances.

brianreavis added a commit that referenced this pull request Feb 17, 2015
Fixed scoping issue which prevented multiple instances from having similar options
@brianreavis brianreavis merged commit 9a51c7d into selectize:master Feb 17, 2015
@brianreavis
Copy link
Member

@IanCaunce Thanks!

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.

2 participants