Skip to content

Conversation

dominicbarnes
Copy link
Contributor

Trac Ticket

This commit/PR fixes the aforementioned bug, and adds unit tests to show that.

In a nutshell, the object reference (the option.values array) is shared between all the sliders initialized if you initialize more than 1 at a time. The solution here was to create a clone of that array during _create.

…- Multiple Sliders have Conflict with options.values
@scottgonzalez
Copy link
Member

Thanks Dominic, this fix looks good. Could you please sign our CLA?

@dominicbarnes
Copy link
Contributor Author

@scottgonzalez Just signed and submitted. :)

@scottgonzalez
Copy link
Member

Thanks Dominic. I changed the email address on the commit to match the email address you used in the CLA. In the future, please either sign the CLA again with the other email address or change your git info to match the CLA.

Landed in 209443d. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants