KEMBAR78
Fixed scoping issue which prevented multiple instances from having similar options by IanCaunce · Pull Request #717 · selectize/selectize.js · GitHub
Skip to content

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