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

Don't duplicate priority countries #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfyx
Copy link

@dfyx dfyx commented Sep 10, 2017

Priority countries would appear twice in the list which would lead to two selected option tags. Most browsers can handle this but the selectize-rails gem gets confused and selects nothing at all.

My fix ensures that every country appears only once.

@onomojo
Copy link
Owner

onomojo commented Sep 10, 2017

Looks like this breaks tests.

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