Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

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

Merged
brianreavis merged 1 commit into
selectize:masterfrom
IanCaunce:fix.optionsmap
Feb 17, 2015
Merged

Fixed scoping issue which prevented multiple instances from having similar options#717
brianreavis merged 1 commit into
selectize:masterfrom
IanCaunce:fix.optionsmap

Conversation

@IanCaunce

Copy link
Copy Markdown

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
Copy Markdown
Member

@IanCaunce Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants