Fixed scoping issue which prevented multiple instances from having similar options by IanCaunce · Pull Request #717 · selectize/selectize.js
Navigation Menu
{{ message }}
selectize / selectize.js Public
- Notifications You must be signed in to change notification settings
- Fork 3.5k
Merged
brianreavis merged 1 commit intoselectize:masterfrom
Feb 17, 2015Merged
Conversation
Copy link Copy Markdown
IanCaunce
commented
Feb 17, 2015
IanCaunce
commented
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, 2015Fixed scoping issue which prevented multiple instances from having similar options
brianreavis
merged commit
9a51c7d
into
selectize:master
Copy link Copy Markdown
Member
brianreavis
commented
Feb 17, 2015
brianreavis commented
Feb 17, 2015@IanCaunce Thanks!
brianreavis
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment