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

Avoid conflict with other selects when checking for value presence #33

Merged
merged 1 commit into from
Oct 5, 2013

Conversation

oarevalo
Copy link
Contributor

@oarevalo oarevalo commented Oct 5, 2013

The check in line 88 for an tag with the same value being added can potentially result in a false positive if there is another element on the page with the same value on an option. Adding the context to the jquery expression seems to fix it.

The check in line 88 for an <option /> tag with the same value being added can potentially result in a false positive if there is another <select/> element on the page with the same value on an option. Adding the context to the jquery expression seems to fix it.
timschlechter added a commit that referenced this pull request Oct 5, 2013
Avoid conflict with other selects when checking for value presence
@timschlechter timschlechter merged commit 7f07222 into mdbootstrap:master Oct 5, 2013
@timschlechter
Copy link
Contributor

Thnx for the contribution!
Sorry for the long wait, I've been out for a while and came to conclusion my deploy mechanism isn't flexible enough to do quick merges of pull requests. Will try to fix this soon

aivazoff pushed a commit to aivazoff/bootstrap-tagsinput that referenced this pull request Apr 19, 2016
Avoid conflict with other selects when checking for value presence
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