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

Fix data default value #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chung1905
Copy link

Hello,

I did a commit to fix the issue #75 .
The error happens when data-show-default-option is set to false and the data-default-value of country field has index === 0, so the plugin thinks no country is selected, and it doesn't search for data-default-value of region field.

I did a fix on both vanilla javascript and jquery.
Can you please check.

Thanks.

@chung1905 chung1905 force-pushed the fix-data-default-value branch from 6bdb7c6 to c684ecc Compare November 15, 2019 03:58
@chung1905
Copy link
Author

I pushed a redundant commit, removed it.

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.

1 participant