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

data-default-value option seems not to work properly #37

Closed
alexdruk opened this issue Jun 28, 2016 · 2 comments
Closed

data-default-value option seems not to work properly #37

alexdruk opened this issue Jun 28, 2016 · 2 comments
Labels

Comments

@alexdruk
Copy link

The following code still show first region from the list (Alsace), not default value:

        <div class="form-group">
          <label for="country">Country</label>
                  <select name="country" class="form-control crs-country" data-region-id="one" data-value="shortcode" data-default-value="FR" data-show-default-option="false">
                  </select>
        </div>
        <div class="form-group">
          <label for="state">State or region</label>
                  <select name="state" class="form-control" id="one" data-default-value="Franche-Comté"  data-show-default-option="false">
                  </select>
        </div>

@benkeen benkeen added the Bug label Jul 5, 2016
@benkeen
Copy link
Member

benkeen commented Jul 5, 2016

Good catch, thanks @alexdruk. I'll take a look.

@benkeen benkeen closed this as completed in 3c6ccb1 Jul 5, 2016
@benkeen
Copy link
Member

benkeen commented Jul 5, 2016

This has been fixed in 0.3.4 - just released.

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

No branches or pull requests

2 participants